]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: ac97: Convert to GPIO descriptors
authorPeng Fan <peng.fan@nxp.com>
Thu, 22 Jan 2026 12:45:00 +0000 (20:45 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 12:45:57 +0000 (12:45 +0000)
commitc76d50b71e898694c946993eb3c77f50efa97254
tree1caa05b8b5c49d24b3dfb078a26aeac1914895b6
parentbe829277ef79aa626e952e17030d711bdb6c1eef
ASoC: ac97: Convert to GPIO descriptors

of_gpio.h is deprecated, update the driver to use GPIO descriptors.
 - Use devm_gpiod_get to get GPIO descriptor, and set consumer
   name.

Since the driver still pass the reset_gpio to pxa27x_configure_ac97reset,
so use desc_to_gpio() to get it gpio id.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260122-sound-cleanup-v1-4-0a91901609b8@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/arm/pxa2xx-ac97-lib.c