projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb0413
)
ASoC: adau1373: Issue soft reset on probe
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 27 Sep 2013 11:47:10 +0000
(13:47 +0200)
committer
Mark Brown
<broonie@linaro.org>
Fri, 27 Sep 2013 13:28:41 +0000
(14:28 +0100)
Reset the device on probe to make sure that the register settings match the
register cache defaults.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/adau1373.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/adau1373.c
b/sound/soc/codecs/adau1373.c
index 2f84054c9b7ddfe4d1d2e8bcf9acc9ed306ce4a3..59654b1e7f3fbcd1262dca4c1066e505980aee2b 100644
(file)
--- a/
sound/soc/codecs/adau1373.c
+++ b/
sound/soc/codecs/adau1373.c
@@
-1540,6
+1540,8
@@
static int adau1373_i2c_probe(struct i2c_client *client,
if (IS_ERR(adau1373->regmap))
return PTR_ERR(adau1373->regmap);
+ regmap_write(adau1373->regmap, ADAU1373_SOFT_RESET, 0x00);
+
dev_set_drvdata(&client->dev, adau1373);
ret = snd_soc_register_codec(&client->dev, &adau1373_codec_driver,
This page took
0.025453 seconds
and
5
git commands to generate.