projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d6755
)
ASoC: dwc: use snd_soc_xxx_active()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Fri, 15 May 2020 00:47:57 +0000
(09:47 +0900)
committer
Mark Brown
<broonie@kernel.org>
Mon, 18 May 2020 15:15:15 +0000
(16:15 +0100)
We have snd_soc_dai/dai_stream/component_active() macro
This patch uses it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link:
https://lore.kernel.org/r/87k11e58hu.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/dwc-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/dwc/dwc-i2s.c
b/sound/soc/dwc/dwc-i2s.c
index 515f88456dbd8190ece408f6ed5fa6a1311a7198..fd4160289faca7b44b8f6feb13d60bf8b4f4c491 100644
(file)
--- a/
sound/soc/dwc/dwc-i2s.c
+++ b/
sound/soc/dwc/dwc-i2s.c
@@
-429,7
+429,7
@@
static int dw_i2s_resume(struct snd_soc_component *component)
for_each_component_dais(component, dai) {
for_each_pcm_streams(stream)
- if (
dai->stream_active[stream]
)
+ if (
snd_soc_dai_stream_active(dai, stream)
)
dw_i2s_config(dev, stream);
}