AC'97 gpiochip
Mark Brown
maintainerThe following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:
Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git tags/asoc-ac97-gpio
for you to fetch changes up to 9bf5c3d11f1fbaf43399d189f05fb20ceb46ee5d:
ASoC: ac97: add gpio chip (2015-11-18 18:08:54 +0000)
----------------------------------------------------------------
ASoC: Add a GPIO chip for AC'97
GPIOs are part of the AC'97 spec, enable their use on embedded platforms using AC'97.
----------------------------------------------------------------
Robert Jarzmik (1):
ASoC: ac97: add gpio chip
include/sound/ac97_codec.h | 3 ++ sound/soc/soc-ac97.c | 125 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+)
Quoted 6 lines · Mark Brown
The following changes since commit
8005c49d9aea74d382f474ce11afbbc7d7130bec:Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)
are available in the git repository at:
Quoted 8 lines
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.gittags/asoc-ac97-gpiofor you to fetch changes up to
9bf5c3d11f1fbaf43399d189f05fb20ceb46ee5d:ASoC: ac97: add gpio chip (2015-11-18 18:08:54 +0000)
----------------------------------------------------------------
ASoC: Add a GPIO chip for AC'97
Pulled to the GPIO devel branch, then I immediately applied this on top:
Quoted 1 line
From
a1eb9d5751220433998ae2e66216288161b1355bMon Sep 17 00:00:00 2001
From: Linus Walleij <[email protected]>
Date: Mon, 7 Dec 2015 13:32:28 +0100
Subject: [PATCH] ASoC: ac97: fix parent assignment
Upstream GPIO has substituted .dev for .parent in struct gpio_chip.
--- sound/soc/soc-ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-ac97.c +1 -1
@@ -142,7 +142,7 @@ static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, gpio_priv->codec = codec; gpio_priv->gpio_chip = snd_soc_ac97_gpio_chip; gpio_priv->gpio_chip.ngpio =AC97_NUM_GPIOS ; - gpio_priv->gpio_chip.dev = codec->dev; + gpio_priv->gpio_chip.parent = codec->dev; gpio_priv->gpio_chip.base =-1 ; ret =gpiochip_add (&gpio_priv->gpio_chip);
Signature · 6 lines
2.4.3 Yours, Linus Walleij