Re: [PATCH] ASoC: sophgo: fix 64-bit division build failure
"Arnd Bergmann" <[email protected]>
| Newsgroups | dev.linux.lists.sophgo,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 2, 2026, at 22:31, Alexander Sverdlin wrote:
> Regarding the 64 bits: seems that the actual issue is the tmp variable that
> is of u64 type for no reason, because priv->mclk_rate is only u32.
>
> Maybe turning tmp into a u32 would avoid unnecessary 64-bit division
> altogether?
Ah, good point, sent v2 now.
Arnd