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)
commit2944d29d7c89573f9aa47083d105ff0243d5a125
treea1b9b19278b042cd4d6174cfc8379853fbfe469f
parentc4bce31c4982ddb866b6b6d0f7ca1cf039a3aded
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