lkml.org 
[lkml]   [2023]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v5 2/3] ASoC: starfive: Add JH7110 TDM driver
Date
On 30.05.2023 09:47, Claudiu Beznea - M18063 wrote:
>> + #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
> enum TDM_CLKPOL clkpolity;
> enum TDM_ELM elm;
> enum TDM_SYNCM syncm;
> enum TDM_MASTER_SLAVE_MODE ms_mode;

Something happens w/ my email client and I sent this section by accident.
Thus you can ignore it.
\
 
 \ /
  Last update: 2023-05-30 09:07    [W:0.079 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site