]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: byt-rt5640: Add quirk for Asus T100
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 29 Sep 2014 13:58:16 +0000 (16:58 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 29 Sep 2014 18:44:31 +0000 (19:44 +0100)
commitb6146bf975af6b6733fc262bda82e1ea6e8026ce
tree6831d88a9029b4d4f02bddc26520cc41342679af
parent3f674b612618079f3184660036345eb5115d7a46
ASoC: Intel: byt-rt5640: Add quirk for Asus T100

Asus T100 internal microphone is not digital but analogue connected to IN1P
pin of the RT564x codec with shared bias between internal and headset
microphones. Because of this there is need to have machine specific DAPM
routes in byt-rt5640.

Add handling for them with the help of DMI quirk that is used to add custom
routes in addition to common. Because "Internal Mic" connected to DMIC1 is
not common to all move it as a default custom route when there is no match
in quirk table.

Custom "Internal Mic" -> "IN1P" with MICBIAS1 route is added for Asus T100.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/byt-rt5640.c