[PATCH 06/11] ASoC: soc-dapm.c: merge dapm_power_one_widget() and dapm_widget_set_power()
Mark Brown
broonie at kernel.org
Tue Oct 18 14:49:33 CEST 2022
On Tue, Oct 18, 2022 at 12:47:24PM +0200, Amadeusz Sławiński wrote:
> On 10/18/2022 1:37 AM, Kuninori Morimoto wrote:
> > + 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20221018/f7f59ecb/attachment.sig>
More information about the Alsa-devel
mailing list