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)
commit7c197881e163f34679b941c75500a6c85560b7c9
treea899a5d0452ce6918bbcc1fa20ed82b3cdb9dd5b
parent617647ae2880cf291293048f8cfd54f8111acb1c
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