By default the cht-bsw-rt5672 config lets the user figure out if a device has a Mono spaker or Stereo speakers and which DMIC input is used.
Since this is not very user-friendly we do regex matches on the DMI derived longname to automaticaly select the right options (and to only advertise those options).
This commit adds support for automatically selecting the right options on the Lenovo Miix 2 10 tablet. Since this is the first device for which we do longname matching using a DMIC on DMIC1, this also fixes a fixme :)
Signed-off-by: Hans de Goede hdegoede@redhat.com --- ucm2/cht-bsw-rt5672/HiFi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ucm2/cht-bsw-rt5672/HiFi.conf b/ucm2/cht-bsw-rt5672/HiFi.conf index dc8ddd5..94de7db 100644 --- a/ucm2/cht-bsw-rt5672/HiFi.conf +++ b/ucm2/cht-bsw-rt5672/HiFi.conf @@ -11,7 +11,7 @@ If.cfg-dmic1 { Condition { Type RegexMatch String "${CardLongName}" - Regex "(SoMeThInK1)" # fixme! + Regex "(LENOVO.*LenovoMiix210)" } True { Define.MonoSpeaker ""