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)
797797 broxton_audio_card .name = "glkda7219max" ;
798798 /* Fixup the SSP entries for geminilake */
799799 for (i = 0 ; i < ARRAY_SIZE (broxton_dais ); i ++ ) {
800+ if (!broxton_dais [i ].codecs -> dai_name )
801+ continue ;
802+
800803 /* MAXIM_CODEC is connected to SSP1. */
801804 if (!strcmp (broxton_dais [i ].codecs -> dai_name ,
802805 BXT_MAXIM_CODEC_DAI )) {
@@ -822,6 +825,9 @@ static int broxton_audio_probe(struct platform_device *pdev)
822825 broxton_audio_card .name = "cmlda7219max" ;
823826
824827 for (i = 0 ; i < ARRAY_SIZE (broxton_dais ); i ++ ) {
828+ if (!broxton_dais [i ].codecs -> dai_name )
829+ continue ;
830+
825831 /* MAXIM_CODEC is connected to SSP1. */
826832 if (!strcmp (broxton_dais [i ].codecs -> dai_name ,
827833 BXT_MAXIM_CODEC_DAI )) {
You can’t perform that action at this time.
0 commit comments