ASoC: max98383: fix i2c probe failure
authorfengchunguo <chunguo.feng@amlogic.com>
Mon, 15 Jul 2019 09:55:56 +0000 (17:55 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:26:15 +0000 (13:26 +0100)
commit96cd3b97bf32557ba722c2e96095cb6361b5dc42
tree478a7662d671fef87513f3acccbd33cd4c267a1c
parent6d19d8a3cec74a9680947ecb6abdeda38583110e
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>
sound/soc/codecs/max98373.c
sound/soc/codecs/max98373.h