We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b946e commit 3ec7129Copy full SHA for 3ec7129
sound/soc/intel/boards/bxt_rt298.c
@@ -604,7 +604,8 @@ static int broxton_audio_probe(struct platform_device *pdev)
604
int i;
605
606
for (i = 0; i < ARRAY_SIZE(broxton_rt298_dais); i++) {
607
- if (!strncmp(card->dai_link[i].codecs->name, "i2c-INT343A:00",
+ if (card->dai_link[i].codecs->name &&
608
+ !strncmp(card->dai_link[i].codecs->name, "i2c-INT343A:00",
609
I2C_NAME_SIZE)) {
610
if (!strncmp(card->name, "broxton-rt298",
611
PLATFORM_NAME_SIZE)) {
0 commit comments