diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-07-23 11:15:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-24 10:51:37 +0200 |
commit | fee4b700a4e9e446151eb5a03874ca8666323113 (patch) | |
tree | 928e21f066d1e7d5b8341f66ac9dbd1fa8d192f9 /sound/soc/tegra/tegra20_spdif.c | |
parent | ALSA: usb-audio: 6fire: return correct XRUN indication (diff) | |
download | linux-fee4b700a4e9e446151eb5a03874ca8666323113.tar.xz linux-fee4b700a4e9e446151eb5a03874ca8666323113.zip |
ALSA: hiface: return correct XRUN indication
Return SNDRV_PCM_POS_XRUN (snd_pcm_uframes_t) instead of
SNDRV_PCM_STATE_XRUN (snd_pcm_state_t) from the pointer
function of hiface, as expected by snd_pcm_update_hw_ptr0().
Caught by sparse.
Cc: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/tegra/tegra20_spdif.c')
0 files changed, 0 insertions, 0 deletions