diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-07-19 18:26:53 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-08-02 22:15:01 +0200 |
commit | 4167cb56f8a6ca68589a07a214461fe52b78ba20 (patch) | |
tree | 7bf99a2f22db5b5f27049cfa4ca8bca679571a60 /drivers | |
parent | 8333b0a8375d9d2f2fa2141c418a895fcf1a8c04 (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions