ASoC: Intel: bytcr_rt5640: Add quirks for ASUS MeMO Pad 7 (ME176C)
authorStephan Gerhold <stephan@gerhold.net>
Wed, 2 Jan 2019 19:39:08 +0000 (20:39 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jan 2019 15:16:00 +0000 (15:16 +0000)
commit51a13e401a83ef37aa98c049c2c30bba885676c2
tree57c7c1fb5db0468771c39780cd63da7a6a36965e
parentfee15714552dbf420264da6f88dd813b8502592b
ASoC: Intel: bytcr_rt5640: Add quirks for ASUS MeMO Pad 7 (ME176C)

Add quirks to select the correct input map, jack-detect options
and channel map to make sound work on the ASUS MeMO Pad 7 (ME176C).

Note: Although sound works out of the box, jack detection currently
requires overriding the ACPI DSDT table. This is necessary because
the rt5640 ACPI device (10EC5640) has the wrong GPIO listed as
interrupt (one of the Bluetooth GPIOs).
The correct GPIO is GPO2 0x0004 (listed as the first GPIO in the
Intel(R) Audio Machine Driver - AMCR0F28 device).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c