]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pcm: Fix incorrect condition check for case SNDRV_PCM_TRIGGER_SUSPEND
authorNicolin Chen <Guangyu.Chen@freescale.com>
Mon, 12 May 2014 12:12:05 +0000 (20:12 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 20:16:06 +0000 (21:16 +0100)
commitd21a71bddb438aeca398c8173f6d61cba26fc1da
treebd57c5ca6eb72845ec20f348740c3790c87b38b5
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
ASoC: pcm: Fix incorrect condition check for case SNDRV_PCM_TRIGGER_SUSPEND

The regular state before we execute SNDRV_PCM_TRIGGER_SUSPEND should be
SNDRV_PCM_TRIGGER_START, not SNDRV_PCM_TRIGGER_STOP. Thus fix it.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-pcm.c