aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-11-08 20:05:11 -0500
committerMark Brown <broonie@kernel.org>2017-11-27 13:48:22 -0500
commit68fea7cd3f3722cf3d3b7f30e9b5667133446936 (patch)
tree548d461a37e5d4f3e4e7849a5e2751a2dfedfe48
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
ASoC: don't use codec hw_write on max98927
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>
-rw-r--r--sound/soc/codecs/max98927.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c
index a1d39353719d..f701fdc81175 100644
--- 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)
682 struct max98927_priv *max98927 = snd_soc_codec_get_drvdata(codec); 682 struct max98927_priv *max98927 = snd_soc_codec_get_drvdata(codec);
683 683
684 max98927->codec = codec; 684 max98927->codec = codec;
685 codec->control_data = max98927->regmap;
686 685
687 /* Software Reset */ 686 /* Software Reset */
688 regmap_write(max98927->regmap, 687 regmap_write(max98927->regmap,