OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99396e3
)
ASoC: xtensa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Mon, 23 Mar 2020 05:21:42 +0000
(14:21 +0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 27 Mar 2020 14:44:55 +0000
(14:44 +0000)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/87zhc7hcih.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xtensa/xtfpga-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/xtensa/xtfpga-i2s.c
b/sound/soc/xtensa/xtfpga-i2s.c
index
bcf442f
..
68af217
100644
(file)
--- a/
sound/soc/xtensa/xtfpga-i2s.c
+++ b/
sound/soc/xtensa/xtfpga-i2s.c
@@
-373,7
+373,7
@@
static int xtfpga_pcm_open(struct snd_soc_component *component,
void *p;
snd_soc_set_runtime_hwparams(substream, &xtfpga_pcm_hardware);
- p = snd_soc_dai_get_dma_data(
rtd->cpu_dai
, substream);
+ p = snd_soc_dai_get_dma_data(
asoc_rtd_to_cpu(rtd, 0)
, substream);
runtime->private_data = p;
return 0;