ALSA: usb-audio: 6fire: return correct XRUN indication
authorEldad Zack <eldad@fogrefinery.com>
Fri, 19 Jul 2013 16:26:53 +0000 (18:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 21 Jul 2013 09:55:22 +0000 (11:55 +0200)
Return SNDRV_PCM_POS_XRUN (snd_pcm_uframes_t) instead of
SNDRV_PCM_STATE_XRUN (snd_pcm_state_t) from the pointer
function of 6fire, as expected by snd_pcm_update_hw_ptr0().

Caught by sparse.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found