@@ -2628,21 +2628,21 @@ int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
2628
2628
}
2629
2629
EXPORT_SYMBOL_GPL (snd_soc_dapm_mixer_update_power );
2630
2630
2631
- static ssize_t dapm_widget_show_component (struct snd_soc_component * cmpnt ,
2631
+ static ssize_t dapm_widget_show_component (struct snd_soc_component * component ,
2632
2632
char * buf , int count )
2633
2633
{
2634
- struct snd_soc_dapm_context * dapm = snd_soc_component_get_dapm (cmpnt );
2634
+ struct snd_soc_dapm_context * dapm = snd_soc_component_get_dapm (component );
2635
2635
struct snd_soc_dapm_widget * w ;
2636
2636
char * state = "not set" ;
2637
2637
2638
2638
/* card won't be set for the dummy component, as a spot fix
2639
2639
* we're checking for that case specifically here but in future
2640
2640
* we will ensure that the dummy component looks like others.
2641
2641
*/
2642
- if (!cmpnt -> card )
2642
+ if (!component -> card )
2643
2643
return 0 ;
2644
2644
2645
- for_each_card_widgets (cmpnt -> card , w ) {
2645
+ for_each_card_widgets (component -> card , w ) {
2646
2646
if (w -> dapm != dapm )
2647
2647
continue ;
2648
2648
@@ -2703,9 +2703,9 @@ static ssize_t dapm_widget_show(struct device *dev,
2703
2703
snd_soc_dapm_mutex_lock_root (rtd -> card );
2704
2704
2705
2705
for_each_rtd_codec_dais (rtd , i , codec_dai ) {
2706
- struct snd_soc_component * cmpnt = codec_dai -> component ;
2706
+ struct snd_soc_component * component = codec_dai -> component ;
2707
2707
2708
- count = dapm_widget_show_component (cmpnt , buf , count );
2708
+ count = dapm_widget_show_component (component , buf , count );
2709
2709
}
2710
2710
2711
2711
snd_soc_dapm_mutex_unlock (rtd -> card );
0 commit comments