lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 03/10] scsi: ufs-mediatek: Introduce workaround for power mode change
From
Date
On Tue, 2022-06-14 at 09:46 -0700, Bart Van Assche wrote:
> On 6/14/22 07:16, Stanley Chu wrote:
> > + if ((dev_req_params->pwr_tx != FAST_MODE) &&
> > + (dev_req_params->gear_tx < UFS_HS_G4))
> > + return false;
> > +
> > + if ((dev_req_params->pwr_rx != FAST_MODE) &&
> > + (dev_req_params->gear_rx < UFS_HS_G4))
> > + return false;
>
> Please do not use more parentheses than needed. I think 8
> parentheses
> can be left out from the above code.

Thanks! fixed in v4.

>
> Thanks,
>
> Bart.

\
 
 \ /
  Last update: 2022-06-15 05:50    [W:0.310 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site