Re: [PATCH] ASoC: pcm: fix __le32 cast warning in snd_pcm_set_sync_per_card

From: Takashi Iwai

Date: Thu Jun 18 2026 - 06:35:05 EST


On Wed, 17 Jun 2026 12:29:43 +0200,
Ben Dooks wrote:
>
> In snd_pcm_set_sync_per_card() the le32 value is written to an u32
> instead of an __le32 pointer. Fix the following warning by fixing
> the type:
>
> sound/soc/soc-pcm.c:2166:9: warning: incorrect type in argument 7 (different base types)
> sound/soc/soc-pcm.c:2166:9: expected int
> sound/soc/soc-pcm.c:2166:9: got restricted snd_pcm_format_t
>
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Applied now (with the correction of the subject prefix -- it's ALSA
core, not ASoC-specific).


thanks,

Takashi