OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356a383
)
ASoC: don't use rtd->codec on Intel/haswell
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 5 Dec 2017 04:23:52 +0000
(
04:23
+0000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 5 Dec 2017 12:43:51 +0000
(12:43 +0000)
rtd->codec will be removed soon.
rtd->codec = rtd->codec_dai->codec, thus,
we can use rtd->codec_dai->component instead of it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/haswell.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/haswell.c
b/sound/soc/intel/boards/haswell.c
index
5e1ea03
..
3c51607
100644
(file)
--- a/
sound/soc/intel/boards/haswell.c
+++ b/
sound/soc/intel/boards/haswell.c
@@
-76,7
+76,7
@@
static int haswell_rt5640_hw_params(struct snd_pcm_substream *substream,
}
/* set correct codec filter for DAI format and clock config */
- snd_soc_
update_bits(rtd->codec
, 0x83, 0xffff, 0x8000);
+ snd_soc_
component_update_bits(codec_dai->component
, 0x83, 0xffff, 0x8000);
return ret;
}