diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-07-19 18:26:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-28 16:30:22 -0700 |
commit | 5a0ecab6b7f55d7b2162e95c396ce778f2f2154c (patch) | |
tree | 3c378a88061c2c039bb9d99e058c71b3f2bbfb47 /sound/aoa/aoa-gpio.h | |
parent | 0d9230a39086b5f183fda1091eb078a67be01f05 (diff) |
ALSA: usb-audio: 6fire: return correct XRUN indication
commit be2f93a4c4981b3646b6f98f477154411b8516cb upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/aoa/aoa-gpio.h')
0 files changed, 0 insertions, 0 deletions