ARM: pxa: spitz: use gpio descriptors for audio

[ Upstream commit 726d8c965b ]

The audio driver should not use a hardwired gpio number
from the header. Change it to use a lookup table.

Acked-by: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Stable-dep-of: 78ab3d352f ("ARM: spitz: fix GPIO assignment for backlight")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Arnd Bergmann 2019-09-11 16:43:59 +02:00 • committed by Greg Kroah-Hartman
commit 421eb21512
5 changed files with 241 additions and 222 deletions