[PATCH 06/11] ASoC: soc-dapm.c: merge dapm_power_one_widget() and dapm_widget_set_power()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Oct 19 02:22:28 CEST 2022


Hi Amadeusz, Mark

> > > +	default:
> > > +	}
> > 
> > This introduces build error when applied:
> > 
> > sound/soc/soc-dapm.c: In function ‘dapm_power_one_widget’:
> > sound/soc/soc-dapm.c:1890:2: error: label at end of compound statement
> >  1890 |  default:
> >       |  ^~~~~~~
> > 
> > (May be because of CONFIG_WERROR, but still it would be a warning at
> > least...)
> 
> Probably also depends on toolchain.  In any case a break; is needed
> there.

Thank you for pointing it.
I didn't get such error/warning...
will send v2 patch, soon.

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list