diff options
| author | Mark Hills <[email protected]> | 2012-02-21 21:26:31 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2012-02-22 07:34:58 +0000 |
| commit | cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9 (patch) | |
| tree | 6dda03b32e0147b388020f0248b0343ebd418c20 /lib/string_helpers.c | |
| parent | Merge tag 'asoc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie... (diff) | |
| download | kernel-cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9.tar.gz kernel-cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9.zip | |
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 <[email protected]>
Acked-by: Daniel Mack <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
