diff options
author | fengchunguo <chunguo.feng@amlogic.com> | 2019-07-15 12:55:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-22 15:26:15 +0300 |
commit | 96cd3b97bf32557ba722c2e96095cb6361b5dc42 (patch) | |
tree | 478a7662d671fef87513f3acccbd33cd4c267a1c /sound/soc/codecs/max98373.h | |
parent | 6d19d8a3cec74a9680947ecb6abdeda38583110e (diff) | |
download | linux-96cd3b97bf32557ba722c2e96095cb6361b5dc42.tar.xz |
ASoC: max98383: fix i2c probe failure
Added reset_gpio configuration for i2c probe successfully.
If not,i2c address can't be found rightly.
Error information:
max98373 3-0031: Failed to read: 0x21FF
Fixed:
[3.761299@3] max98373 3-0031: MAX98373 revisionID: 0x43
[3.828911@3] asoc-aml-card auge_sound: max98373-aif1 <-> TDM-B mapping ok
Signed-off-by: fengchunguo <chunguo.feng@amlogic.com>
Link: https://lore.kernel.org/r/20190715095556.1614-1-chunguo.feng@amlogic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98373.h')
-rw-r--r-- | sound/soc/codecs/max98373.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98373.h b/sound/soc/codecs/max98373.h index f6a37aa02f26..533d2053f608 100644 --- a/sound/soc/codecs/max98373.h +++ b/sound/soc/codecs/max98373.h @@ -203,6 +203,7 @@ struct max98373_priv { struct regmap *regmap; + int reset_gpio; unsigned int v_slot; unsigned int i_slot; unsigned int spkfb_slot; |