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

Commit e71fa370 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Default WM2000 ANC and speaker to enabled



The most useful configuration for the WM2000 is to enable the ANC so turn
that on by default, and since we're not reflecting chip default state also
enable the speaker output by default.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 67884e21
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -795,6 +795,8 @@ static int __devinit wm2000_i2c_probe(struct i2c_client *i2c,


	dev_set_drvdata(&i2c->dev, wm2000);
	dev_set_drvdata(&i2c->dev, wm2000);
	wm2000->anc_eng_ena = 1;
	wm2000->anc_eng_ena = 1;
	wm2000->anc_active = 1;
	wm2000->spk_ena = 1;
	wm2000->i2c = i2c;
	wm2000->i2c = i2c;


	wm2000_reset(wm2000);
	wm2000_reset(wm2000);