projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca58221
)
ASoC: soc-pcm: add missing cpu_dai->rate = 0
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Mon, 13 May 2019 07:07:52 +0000
(16:07 +0900)
committer
Mark Brown
<broonie@kernel.org>
Mon, 13 May 2019 11:46:15 +0000
(12:46 +0100)
Codec side is setting codec_dai->rate = 0 when error case
at soc_pcm_hw_params(), but there is not such setting for CPU side.
This patch adds it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-pcm.c
b/sound/soc/soc-pcm.c
index ad560d9bf06a37e318bfb3c0fc37fb7170263e72..2dcc44c73f6c9d1da0c8c597f9cf2a7d4d7e8e09 100644
(file)
--- a/
sound/soc/soc-pcm.c
+++ b/
sound/soc/soc-pcm.c
@@
-1027,6
+1027,7
@@
component_err:
if (cpu_dai->driver->ops->hw_free)
cpu_dai->driver->ops->hw_free(substream, cpu_dai);
+ cpu_dai->rate = 0;
interface_err:
i = rtd->num_codecs;