[PATCH v2 1/2] ASoC: cs35l41: CS35L41 Boosted Smart Amplifier

Mark Brown broonie at kernel.org
Fri Jul 2 14:08:10 CEST 2021


On Thu, Jul 01, 2021 at 03:22:53PM -0500, David Rhodes wrote:
> On 6/29/21 6:51 PM, Pierre-Louis Bossart wrote:
> > > +static irqreturn_t cs35l41_irq(int irq, void *data)
> > > +{
> > > +	struct cs35l41_private *cs35l41 = data;
> > > +	unsigned int status[4] = {0, 0, 0, 0};
> > > +	unsigned int masks[4] = {0, 0, 0, 0};

> > are those inits necessary, you override them below with the regmap reads?

> This one gets flagged by static analyzers so I'd like to keep the inits

That sounds like you have an actual issue and you're just shutting up
the static analysers, not fixing whatever they were telling you.
-------------- 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/20210702/76dff2e4/attachment.sig>


More information about the Alsa-devel mailing list