Skip to content

Commit

Permalink
ASoC: don't use codec hw_write on max98927
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Nov 27, 2017
1 parent 4fbd8d1 commit 68fea7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/max98927.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 68fea7c

Please sign in to comment.