[alsa-devel] [PATCH 2/4] ASoC: s3c64xx/smartq: use dynamic registration

Lars-Peter Clausen lars at metafoo.de
Sat Jul 12 08:27:59 PDT 2014

On 07/11/2014 03:45 PM, Arnd Bergmann wrote:
> As a prerequisite for moving s3c64xx into multiplatform configurations,
> we need to change the smartq audio driver to stop using hardcoded
> gpio numbers from the header file, and instead pass the gpio data
> through platform_data.

This should be using the gpiod API. The gpiod API allows you to pass the GPIOs 
without having to add a platform_data struct.

- Lars

More information about the linux-arm-kernel mailing list