[alsa-devel] [PATCH] ALSA: usb-audio: hiface: return correct XRUN indication

Eldad Zack eldad at fogrefinery.com
Tue Jul 23 11:11:44 CEST 2013



On Mon, 22 Jul 2013, Antonio Ospite wrote:

> On Mon, 22 Jul 2013 19:38:24 +0200
> Eldad Zack <eldad at fogrefinery.com> wrote:
> 
> > 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 at fogrefinery.com>
> 
> I too was going to send this one, I verified that the fix is OK, thanks
> Eldad for anticipating me.
> 
> Would you please fix the commit message as Clemens pointed out?

Oops - sure, will send it out corrected in a moment.

Cheers,
Eldad



More information about the Alsa-devel mailing list