ound/soc/codecs/tac5x1x.c: In function ‘tac5x1x_set_dai_fmt’: sound/soc/codecs/tac5x1x.c:938:30: warning: unused variable ‘tac5x1x’ [-Wunused-variable] 938 | struct tac5x1x_priv *tac5x1x = snd_soc_component_get_drvdata(component); | ^~~~~~~ sound/soc/codecs/tac5x1x.c: At top level: sound/soc/codecs/tac5x1x.c:1101:10: error: ‘struct snd_soc_dai_driver’ has no member named ‘symmetric_rate’; did you mean ‘symmetric_rates’? 1101 | .symmetric_rate = 1, | ^~~~~~~~~~~~~~ | symmetric_rates sound/soc/codecs/tac5x1x.c:1101:27: warning: initialization of ‘const struct snd_soc_cdai_ops *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1101 | .symmetric_rate = 1, | ^ sound/soc/codecs/tac5x1x.c:1101:27: note: (near initialization for ‘tac5x1x_dai.cops’) sound/soc/codecs/tac5x1x.c: In function ‘tac5x1x_add_controls’: sound/soc/codecs/tac5x1x.c:1224:35: warning: division ‘sizeof (int *) / sizeof (int)’ does not compute the number of array elements [-Wsizeof-pointer-div] 1224 | sizeof(gpio_func) / sizeof(gpio_func[0]))) { | ^ sound/soc/codecs/tac5x1x.c:1182:14: note: first ‘sizeof’ operand was declared here 1182 | int *gpio_func = tac5x1x->gpio_setup->gpio_func; | ^~~~~~~~~ sound/soc/codecs/tac5x1x.c: In function ‘tac5x1x_add_widgets’: sound/soc/codecs/tac5x1x.c:1278:35: warning: division ‘sizeof (int *) / sizeof (int)’ does not compute the number of array elements [-Wsizeof-pointer-div] 1278 | sizeof(gpio_func) / sizeof(gpio_func[0]))) { | ^ sound/soc/codecs/tac5x1x.c:1240:14: note: first ‘sizeof’ operand was declared here 1240 | int *gpio_func = tac5x1x->gpio_setup->gpio_func; | ^~~~~~~~~ sound/soc/codecs/tac5x1x.c: In function ‘tac5x1x_soc_resume’: sound/soc/codecs/tac5x1x.c:1330:9: warning: ignoring return value of ‘regulator_enable’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1330 | regulator_enable(tac5x1x->supply_avdd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/tac5x1x.c:1331:9: warning: ignoring return value of ‘regulator_enable’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1331 | regulator_enable(tac5x1x->supply_iovdd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/tac5x1x.c: In function ‘tac5x1x_add_controls’: sound/soc/codecs/tac5x1x.c:1209:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1209 | if (ret) | ^ sound/soc/codecs/tac5x1x.c:1211:9: note: here 1211 | case TAC5312: | ^~~~ make[3]: *** [scripts/Makefile.build:286: sound/soc/codecs/tac5x1x.o] Error 1 make[2]: *** [scripts/Makefile.build:503: sound/soc/codecs] Error 2 make[1]: *** [scripts/Makefile.build:503: sound/soc] Error 2 make: *** [Makefile:1836: sound] Error 2