File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -797,6 +797,9 @@ static int broxton_audio_probe(struct platform_device *pdev)
797
797
broxton_audio_card .name = "glkda7219max" ;
798
798
/* Fixup the SSP entries for geminilake */
799
799
for (i = 0 ; i < ARRAY_SIZE (broxton_dais ); i ++ ) {
800
+ if (!broxton_dais [i ].codecs -> dai_name )
801
+ continue ;
802
+
800
803
/* MAXIM_CODEC is connected to SSP1. */
801
804
if (!strcmp (broxton_dais [i ].codecs -> dai_name ,
802
805
BXT_MAXIM_CODEC_DAI )) {
@@ -822,6 +825,9 @@ static int broxton_audio_probe(struct platform_device *pdev)
822
825
broxton_audio_card .name = "cmlda7219max" ;
823
826
824
827
for (i = 0 ; i < ARRAY_SIZE (broxton_dais ); i ++ ) {
828
+ if (!broxton_dais [i ].codecs -> dai_name )
829
+ continue ;
830
+
825
831
/* MAXIM_CODEC is connected to SSP1. */
826
832
if (!strcmp (broxton_dais [i ].codecs -> dai_name ,
827
833
BXT_MAXIM_CODEC_DAI )) {
You can’t perform that action at this time.
0 commit comments