diff mbox

ASoC: rt286: Change the DMI mapping for Dino

Message ID 1425607978-24333-1-git-send-email-bardliao@realtek.com (mailing list archive)
State Accepted
Commit a4ee556137a5bb4b542c5023e6fead4b7cf33495
Headers show

Commit Message

Bard Liao March 6, 2015, 2:12 a.m. UTC
The board ID will be changed between revisions. So, it is better
to map it by project name.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt286.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown March 6, 2015, 8:34 p.m. UTC | #1
On Fri, Mar 06, 2015 at 10:12:58AM +0800, Bard Liao wrote:
> The board ID will be changed between revisions. So, it is better
> to map it by project name.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c
index 693decb..098fc78 100644
--- a/sound/soc/codecs/rt286.c
+++ b/sound/soc/codecs/rt286.c
@@ -1209,7 +1209,7 @@  static struct dmi_system_id dmi_dell_dino[] = {
 		.ident = "Dell Dino",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-			DMI_MATCH(DMI_BOARD_NAME, "0144P8")
+			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343")
 		}
 	},
 	{ }