ASoC: Intel: bytcr_rt5640: Apply Asus T100TA quirk to Asus T100TAM too
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 Apr 2024 19:15:59 +0000 (21:15 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Apr 2024 12:38:47 +0000 (13:38 +0100)
commite50729d742ec364895f1c389c32315984a987aa5
tree6d358c0476d5ac65435be06f53c2aa444ee369b1
parent2e93a29b48a017c777d4fcbfcc51aba4e6a90d38
ASoC: Intel: bytcr_rt5640: Apply Asus T100TA quirk to Asus T100TAM too

The Asus T100TA quirk has been using an exact match on a product-name of
"T100TA" but there are also T100TAM variants with a slightly higher
clocked CPU and a metal backside which need the same quirk.

Sort the existing T100TA (stereo speakers) below the more specific
T100TAF (mono speaker) quirk and switch from exact matching to
substring matching so that the T100TA quirk will also match on
the T100TAM models.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20240407191559.21596-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c