summaryrefslogtreecommitdiff
path: root/sound/usb/hiface/pcm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-22 10:09:03 (GMT)
committerMark Brown <broonie@linaro.org>2013-08-22 10:09:03 (GMT)
commit64393c6e647c8a791243063d282c787b46721be7 (patch)
tree89ca12bd5d52e8df24d2bc13a36d30479a4e825d /sound/usb/hiface/pcm.c
parenta2388a498ad2f85be01aca29e364abf427d9b53c (diff)
parent741a509f34d8d702f70d0ad99b8152c57d76961e (diff)
downloadlinux-fsl-qoriq-64393c6e647c8a791243063d282c787b46721be7.tar.xz
Merge remote-tracking branch 'asoc/topic/ac97' into asoc-fsl
Diffstat (limited to 'sound/usb/hiface/pcm.c')
-rw-r--r--sound/usb/hiface/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/hiface/pcm.c b/sound/usb/hiface/pcm.c
index 6430ed2..c21a3df 100644
--- a/sound/usb/hiface/pcm.c
+++ b/sound/usb/hiface/pcm.c
@@ -503,7 +503,7 @@ static snd_pcm_uframes_t hiface_pcm_pointer(struct snd_pcm_substream *alsa_sub)
snd_pcm_uframes_t dma_offset;
if (rt->panic || !sub)
- return SNDRV_PCM_STATE_XRUN;
+ return SNDRV_PCM_POS_XRUN;
spin_lock_irqsave(&sub->lock, flags);
dma_offset = sub->dma_off;