hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/ak4613.c
....@@ -451,13 +451,13 @@
451451 switch (level) {
452452 case SND_SOC_BIAS_ON:
453453 mgmt1 |= RSTN;
454
- /* fall through */
454
+ fallthrough;
455455 case SND_SOC_BIAS_PREPARE:
456456 mgmt1 |= PMADC | PMDAC;
457
- /* fall through */
457
+ fallthrough;
458458 case SND_SOC_BIAS_STANDBY:
459459 mgmt1 |= PMVR;
460
- /* fall through */
460
+ fallthrough;
461461 case SND_SOC_BIAS_OFF:
462462 default:
463463 break;
....@@ -490,8 +490,8 @@
490490 */
491491 udelay(5000000 / priv->rate);
492492
493
- snd_soc_component_read(component, PW_MGMT1, &mgmt1);
494
- snd_soc_component_read(component, PW_MGMT3, &mgmt3);
493
+ mgmt1 = snd_soc_component_read(component, PW_MGMT1);
494
+ mgmt3 = snd_soc_component_read(component, PW_MGMT3);
495495
496496 snd_soc_component_write(component, PW_MGMT1, mgmt1);
497497 snd_soc_component_write(component, PW_MGMT3, mgmt3);