aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 22:42:35 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 22:42:35 +0100
commitec5c0aa668768e3d00a14ba8712549eb107ef9ee (patch)
tree5c87d18656bd6152644fab681274199cfe477180 /arch
parenta774f9abf146d5fc76baa6e6ce9d63f4b0da3696 (diff)
parent9617ce6798f8eee61d8068f0ea03a08ce051932e (diff)
downloadlinux-next-history-ec5c0aa668768e3d00a14ba8712549eb107ef9ee.tar.gz
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 49c677f2dac15..1d34de7e5fbef 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -58,8 +58,15 @@ static unsigned long ac97_reset_config[] = {
GPIO95_AC97_nRESET,
};
-void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio)
+void pxa27x_configure_ac97reset(struct gpio_desc *gpiod, bool to_gpio)
{
+ int reset_gpio;
+
+ if (!gpiod)
+ return;
+
+ reset_gpio = desc_to_gpio(gpiod);
+
/*
* This helper function is used to work around a bug in the pxa27x's
* ac97 controller during a warm reset. The configuration of the