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:
4fbd8d1
)
ASoC: don't use codec hw_write on max98927
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 9 Nov 2017 01:05:11 +0000
(
01:05
+0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Nov 2017 18:48:22 +0000
(18:48 +0000)
max98927 driver is using codec hw_write/control_data,
but it is redundant code. This patch cleanup these
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98927.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98927.c
b/sound/soc/codecs/max98927.c
index a1d39353719d72cb4e3f0f1fcaa6b9b69d16acbf..f701fdc81175fca40a55d3a0f24d5a74171f150b 100644
(file)
--- a/
sound/soc/codecs/max98927.c
+++ b/
sound/soc/codecs/max98927.c
@@
-682,7
+682,6
@@
static int max98927_probe(struct snd_soc_codec *codec)
struct max98927_priv *max98927 = snd_soc_codec_get_drvdata(codec);
max98927->codec = codec;
- codec->control_data = max98927->regmap;
/* Software Reset */
regmap_write(max98927->regmap,