Re: [PATCh v3 07/14] ASoC: rsnd: ssui: Add RZ/G3E SSIU BUSIF support
From: Kuninori Morimoto
Date: Thu Apr 02 2026 - 21:21:12 EST
Hi Mark
Thank you for your review
> > @@ -160,7 +161,8 @@ static int rsnd_ssiu_init(struct rsnd_mod *mod,
> > /*
> > * SSI_MODE0
> > */
> > - rsnd_mod_bset(mod, SSI_MODE0, (1 << id), !use_busif << id);
> > + if (!rsnd_is_rzg3e(priv))
> > + rsnd_mod_bset(mod, SSI_MODE0, (1 << id), !use_busif << id);
>
> Perhaps should be a capability flag like the changelog said?
Have or not have registers are depending on the each SoC, and (probably)
there's no regularity to it.
And SoC special handling is needed not only for the register settings.
There is no clear rule on this driver for now.
Handling it by flag is one the idea, but rsnd_is_xxx() is enough for now.
Because it is easy to find SoC specific handling part by "grep rsnd_is_"
Thank you for your help !!
Best regards
---
Kuninori Morimoto