ARM: pxa: hx4700: use gpio descriptors for audio
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Sep 2019 12:27:13 +0000 (14:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:47 +0000 (22:55 +0200)
commite6c91e1adfd385e99cbe5d1b90684ebeb96540ea
treed4385e63b3d80ea819a074cfa808ca1e8df936b4
parent2f361e9459559d4ea97f6645ea6d2f814fb5f2e9
ARM: pxa: hx4700: 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.

Cc: Philipp Zabel <philipp.zabel@gmail.com>
Cc: Paul Parsons <lost.distance@yahoo.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: alsa-devel@alsa-project.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/hx4700-pcmcia.c
arch/arm/mach-pxa/hx4700.c
arch/arm/mach-pxa/hx4700.h [new file with mode: 0644]
arch/arm/mach-pxa/include/mach/hx4700.h [deleted file]
sound/soc/pxa/hx4700.c