[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c974d0c7-b091-4d5c-b73c-1b6584eb823a@sirena.org.uk>
Date: Thu, 8 Jun 2023 11:50:19 +0100
From: Mark Brown <broonie@...nel.org>
To: Walker Chen <walker.chen@...rfivetech.com>
Cc: Claudiu Beznea <Claudiu.Beznea@...rochip.com>,
Dan Carpenter <dan.carpenter@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Takashi Iwai <tiwai@...e.com>,
Jaroslav Kysela <perex@...ex.cz>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] ASoC: starfive: Cleanup and fix error check for
JH7110 TDM
On Thu, Jun 08, 2023 at 06:43:09PM +0800, Walker Chen wrote:
> On 2023/6/8 18:15, Mark Brown wrote:
> > I can't find the comments you're referring to in there.
> You should see the following comments in the link above:
> > + #define CLKPOL_BIT 5
> > + #define TRITXEN_BIT 4
> > + #define ELM_BIT 3
> > + #define SYNCM_BIT 2
> > + #define MS_BIT 1
> Instead of these *_BIT defines as plain numbers you can defined them using
> BIT() macro and use macros in place instead of
The usual pattern is to have defines for both the shift and the mask,
not just one.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists