]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98927: Handle reset gpio when probing i2c
authorAlejandro Tafalla <atafalla@dnyon.com>
Thu, 7 Oct 2021 02:38:56 +0000 (04:38 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Oct 2021 14:45:18 +0000 (15:45 +0100)
commit8fe53f0c98d23321fabe74318ab9d958ca239f07
tree03e92c0be550ca71ca9073e972d7eeea012531b3
parente50ac1a3d014f13de3e788e622022b64018fc9b7
ASoC: max98927: Handle reset gpio when probing i2c

The max98927 codec on some devices requires pulling a reset gpio before
responding to any i2c command. This commit adds support for it through
an optional reset-gpios property.

Signed-off-by: Alejandro Tafalla <atafalla@dnyon.com>
Link: https://lore.kernel.org/r/d74b12a79ae9ca728d5d9e64c55b3e59e8c0e509.1633572679.git.atafalla@dnyon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98927.c
sound/soc/codecs/max98927.h