On Mon, 29 Apr 2024 21:35:00 +0200, Manuel Barrio Linares wrote: > > + set_rate = le32_to_cpu(buff4); > + if (new_rate != set_rate) Those two lines cause sparse warnings, unfortunately. You can't assign int to __le32 type directly, and you can't compare between those types directly, either. That said, it should be rather like if (new_rate != le32_to_cpu(buff4)) dev_warn(...); You can check the sparse warning by yourself by passing C=1 argument to make, too. thanks, Takashi
- Follow-Ups:
- [PATCH v3] ALSA: usb-audio: Add sampling rates support for Mbox3
- From: Manuel Barrio Linares
- [PATCH v3] ALSA: usb-audio: Add sampling rates support for Mbox3
- References:
- Re: [PATCH] ALSA: usb-audio: Add sampling rates support for Mbox3
- From: Takashi Iwai
- [PATCH v2] ALSA: usb-audio: Add sampling rates support for Mbox3
- From: Manuel Barrio Linares
- Re: [PATCH] ALSA: usb-audio: Add sampling rates support for Mbox3
- Prev by Date: Re: [PATCH v1 0/2] ALSA: hda: cs35l41: Ignore errors when configuring interrupts to allow laptops with bad ACPI to play audio
- Next by Date: Re: [PATCH v20 22/41] ASoC: usb: Add PCM format check API for USB backend
- Previous by thread: [PATCH v2] ALSA: usb-audio: Add sampling rates support for Mbox3
- Next by thread: [PATCH v3] ALSA: usb-audio: Add sampling rates support for Mbox3
- Index(es):