ASoC: max98357a: request GPIO when device get probed
authorTzung-Bi Shih <tzungbi@google.com>
Thu, 9 May 2019 03:04:54 +0000 (11:04 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 May 2019 11:43:29 +0000 (12:43 +0100)
commitbcd9382288af236321c83d27b0db196bf8814559
tree1196a9f92a8086d84e7831c1ea0e67d39e9c0ea7
parent630be964b5d8d37d3dff9fc5c8af8a516aa94af0
ASoC: max98357a: request GPIO when device get probed

devm_gpiod_get_optional() returns EBUSY after component rebound.

Request GPIO in max98357a_platform_probe() to support component
rebinding.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98357a.c