ARM: pxa: spitz: use gpio descriptors for audio
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Sep 2019 14:43:59 +0000 (16:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:47 +0000 (22:55 +0200)
commit726d8c965bae2d7468445d990849e281dca8cbf7
tree0c5edf72f2f92f73c05bea29fba85221593a88b0
parent047dc2a21ed01437f99bc78c55a8ff86dfe3493e
ARM: pxa: spitz: use gpio descriptors for audio

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>
arch/arm/mach-pxa/include/mach/spitz.h [deleted file]
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/spitz.h [new file with mode: 0644]
arch/arm/mach-pxa/spitz_pm.c
sound/soc/pxa/spitz.c