]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/hda/hda_intel.c
ALSA: hda - disable delayed period-ack with bdl_pos_adj=0
[linux-2.6-omap-h63xx.git] / sound / pci / hda / hda_intel.c
index b2bcd94cf7a2d8f31561e0e2196e5f444863cb07..39f22318803d4650514a56f4c31f841a193cdad9 100644 (file)
@@ -1559,6 +1559,8 @@ static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev)
                        chip->position_fix = POS_FIX_POSBUF;
        }
 
+       if (!bdl_pos_adj[chip->dev_index])
+               return 1; /* no delayed ack */
        if (pos % azx_dev->period_bytes > azx_dev->period_bytes / 2)
                return 0; /* NG - it's below the period boundary */
        return 1; /* OK, it's fine */