ASoC: ac97: add gpio chip
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 11 Nov 2015 12:12:51 +0000 (13:12 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2015 18:08:54 +0000 (18:08 +0000)
commit9bf5c3d11f1fbaf43399d189f05fb20ceb46ee5d
treeff770ab3d145eaecf4a877a481388a6d55f9e478
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: ac97: add gpio chip

The AC97 specification provides a guide for 16 GPIOs in the codecs. If
the gpiolib is compiled in the kernel, declare a gpio chip.

This was tested with a pxa27x board (mioa701) and a wm9713 codec.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/ac97_codec.h
sound/soc/soc-ac97.c