summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5530.c
diff options
context:
space:
mode:
authorMark Hills <mark@pogo.org.uk>2012-02-21 21:26:31 +0000
committerTakashi Iwai <tiwai@suse.de>2012-02-22 08:34:58 +0100
commitcb74eb15ac88d6aacf7e58db1d8f8dadee710fd9 (patch)
tree6dda03b32e0147b388020f0248b0343ebd418c20 /sound/pci/cs5530.c
parentfe879e2f6d65648b6398ac27f4c623ebd2e867f7 (diff)
downloadop-kernel-dev-cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9.zip
op-kernel-dev-cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9.tar.gz
ALSA: snd-usb-caiaq: Fix the return of XRUN
Commit 3702b08 added a lock, but did not account for the case of SNDRV_PCM_POS_XRUN, which would get immediately overwritten. This could be bundled into one if-else-if statement, but the goto helps to clarify the 'exceptional' case. Thanks to Andreas Pape for spotting this. Signed-off-by: Mark Hills <mark@pogo.org.uk> Acked-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5530.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud