From: Mark Hills Date: Tue, 21 Feb 2012 21:26:31 +0000 (+0000) Subject: ALSA: snd-usb-caiaq: Fix the return of XRUN X-Git-Tag: v3.3-rc5~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb74eb15ac88d6aacf7e58db1d8f8dadee710fd9;p=pandora-kernel.git 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 Acked-by: Daniel Mack Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed