diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-18 22:55:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-19 16:04:13 +0100 |
commit | 0a3badd141f78535315cca9ff5062a7ebf414281 (patch) | |
tree | 3b3dbc28f4ceaf2cafe4d4224f1115cda74968bd /sound/xen | |
parent | eea1662525bd4a158a67ac836b2a1fd9cf77cc81 (diff) |
ASoC: Intel: bytcr_rt5651: Fix using the wrong GPIO for the ext-amp on some boards
Some boards have I2cSerialBusV2, GpioIo, GpioInt as ACPI resources, other
boards may have I2cSerialBusV2, GpioInt, GpioIo instead. We want the
GpioIo one for the ext-amp-enable-gpio.
So far we've been assuming that the GpioIo one always comes first, this
commit adds code to detect which one comes first and to add the right
gpio-mapping.
This fixes sound not working on the Vios LTH17 laptop.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/xen')
0 files changed, 0 insertions, 0 deletions