RE: [PATCH] ASoC: rt722-sdca: Remove redundant sdca mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Mark Brown <broonie@xxxxxxxxxx>
> Sent: Wednesday, June 21, 2023 8:41 PM
> To: Jack Yu <jack.yu@xxxxxxxxxxx>
> Cc: lgirdwood@xxxxxxxxx; alsa-devel@xxxxxxxxxxxxxxxx; lars@xxxxxxxxxx;
> Flove(HsinFu) <flove@xxxxxxxxxxx>; Oder Chiou <oder_chiou@xxxxxxxxxxx>;
> Shuming [范書銘] <shumingf@xxxxxxxxxxx>; Derek [方德義]
> <derek.fang@xxxxxxxxxxx>
> Subject: Re: [PATCH] ASoC: rt722-sdca: Remove redundant sdca mask
> 
> On Wed, Jun 21, 2023 at 04:07:50PM +0800, Jack Yu wrote:
> 
> > Remove redundant sdca mask for clear code.
> 
> >  			sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK1,
> > -				SDW_SCP_SDCA_INTMASK_SDCA_0 |
> SDW_SCP_SDCA_INTMASK_SDCA_6);
> > +				SDW_SCP_SDCA_INTMASK_SDCA_6);
> >  			sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK2,
> >  				SDW_SCP_SDCA_INTMASK_SDCA_8);
> >  		}
> 
> Why is this redundant?

Based on internal register settings, this bit won't be used in any use case, so I remove it for clear code.

> 
> ------Please consider the environment before printing this e-mail.




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux