]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: byt-max98090: Add GPIO ACPI mapping table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 10 Jun 2017 16:37:41 +0000 (19:37 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 13 Jun 2017 20:39:47 +0000 (21:39 +0100)
commitdafdb79f7a3dca340b81612b1b694d6cf5bc0a94
treea899a5d0452ce6918bbcc1fa20ed82b3cdb9dd5b
parent3f8104f66c81e25e27ca451102244fed0c040ad2
ASoC: Intel: byt-max98090: Add GPIO ACPI mapping table

In order to make GPIO ACPI library stricter prepare users of
gpiod_get_index() to correctly behave when there no mapping is
provided by firmware.

Here we add explicit mapping between _CRS GpioIo() resources and
their names used in the driver.

Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Nicolas Porcel <nicolasporcel06@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/byt-max98090.c