Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51f20e4c authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: ab8500: Use ASoC I/O functions



In preparation for moving away from implementing the ASoC level register
I/O functionality change direct calls to the ab8500 implementation of that
to use snd_soc_write()

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
parent 38bfd48b
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -2527,11 +2527,9 @@ static int ab8500_codec_probe(struct snd_soc_codec *codec)
	}

	/* Override HW-defaults */
	ab8500_codec_write_reg(codec,
				AB8500_ANACONF5,
	snd_soc_write(codec, AB8500_ANACONF5,
		      BIT(AB8500_ANACONF5_HSAUTOEN));
	ab8500_codec_write_reg(codec,
				AB8500_SHORTCIRCONF,
	snd_soc_write(codec, AB8500_SHORTCIRCONF,
		      BIT(AB8500_SHORTCIRCONF_HSZCDDIS));

	/* Add filter controls */