summaryrefslogtreecommitdiffstats
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorTakashi Iwai2009-04-28 12:07:08 +0200
committerTakashi Iwai2009-04-28 15:10:16 +0200
commit3e5b50165fd0be080044586f43fcdd460ed27610 (patch)
tree54e6ed455de1f011b7da25234553c4b61f4a3f08 /sound/pci/cmipci.c
parentALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers (diff)
downloadkernel-qcow2-linux-3e5b50165fd0be080044586f43fcdd460ed27610.tar.gz
kernel-qcow2-linux-3e5b50165fd0be080044586f43fcdd460ed27610.tar.xz
kernel-qcow2-linux-3e5b50165fd0be080044586f43fcdd460ed27610.zip
ALSA: pcm core - Avoid jiffies check for devices with BATCH flag
The hardware devices with SNDRV_PCM_INFO_BATCH flag can't give the precise current position. And such hardwares have often big FIFO in addition to the ring buffer, and it screws up the jiffies check in pcm_lib.c. This patch adds a simple check of info flag so that the driver skips the jiffies check in snd_pcm_period_elapsed() when BATCH flag is set. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cmipci.c')
0 files changed, 0 insertions, 0 deletions