- /* Use no wide sampling if we have only the first 8 channels set. */
- devc->sample_wide = (channel_mask > 0xff || num_analog > 0);
+ /*
+ * Use wide sampling if either any of the LA channels 8..15 is enabled,
+ * and/or at least one analog channel is enabled, and/or the device
+ * is running DSLogic firmware (not fx2lafw).
+ */
+ devc->sample_wide = (channel_mask > 0xff
+ || num_analog > 0
+ || (devc->profile->dev_caps & DEV_CAPS_DSLOGIC_FW));