summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/bytcht_cx2072x.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-02-15 15:00:31 +0100
committerTakashi Iwai <tiwai@suse.de>2024-02-15 15:00:31 +0100
commit3db9d4b395190103969707ed7ea6513f1162b9e3 (patch)
treef0e1f78c7c9422b4ad22ca1658e3ed4e0881846b /sound/soc/intel/boards/bytcht_cx2072x.c
parent852d432a14dbcd34e15a3a3910c5c6869a6d1929 (diff)
parent0db0c1770834f39e11a2902e20e1f11a482f4465 (diff)
Merge tag 'asoc-fix-v6.8-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.8 A relatively large set of fixes and quirk additions here but they're all driver specific, people seem to be back into the swing of things after the holidays. This is all driver specific and much of it fairly minor.
Diffstat (limited to 'sound/soc/intel/boards/bytcht_cx2072x.c')
-rw-r--r--sound/soc/intel/boards/bytcht_cx2072x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bytcht_cx2072x.c b/sound/soc/intel/boards/bytcht_cx2072x.c
index 10a84a2c1036..c014d85a08b2 100644
--- a/sound/soc/intel/boards/bytcht_cx2072x.c
+++ b/sound/soc/intel/boards/bytcht_cx2072x.c
@@ -241,7 +241,8 @@ static int snd_byt_cht_cx2072x_probe(struct platform_device *pdev)
/* fix index of codec dai */
for (i = 0; i < ARRAY_SIZE(byt_cht_cx2072x_dais); i++) {
- if (!strcmp(byt_cht_cx2072x_dais[i].codecs->name,
+ if (byt_cht_cx2072x_dais[i].codecs->name &&
+ !strcmp(byt_cht_cx2072x_dais[i].codecs->name,
"i2c-14F10720:00")) {
dai_index = i;
break;