]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-amplifier: Make gpio property optional
authorMylène Josserand <mylene.josserand@bootlin.com>
Mon, 18 Mar 2019 10:39:38 +0000 (11:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 11:18:47 +0000 (11:18 +0000)
commitf4f9176ee7ace3d4dd5989c6eab4df495720b935
treea1b9b19278b042cd4d6174cfc8379853fbfe469f
parent33a991da08988834ce848779b31d7d0673717693
ASoC: simple-amplifier: Make gpio property optional

Some amplifier may not have a GPIO to control the power, but instead simply
rely on the regulator to power up and down the amplifier.

In order to support those setups, let's make the GPIO optional.

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/simple-amplifier.txt
sound/soc/codecs/simple-amplifier.c