RE: [PATCH] scsi: ufs: exynos: fsd: Gate ref_clk and put UFS device in reset on suspend

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

 



Hi Bart,
I have made the relevant changes and pushed the updated patch.
Can you please review it and close the same.

With Regards
Bharat Uppal

> -----Original Message-----
> From: Bharat Uppal <bharat.uppal@xxxxxxxxxxx>
> Sent: 05 August 2025 10:58
> To: 'Bart Van Assche' <bvanassche@xxxxxxx>; 'linux-scsi@xxxxxxxxxxxxxxx'
> <linux-scsi@xxxxxxxxxxxxxxx>; 'linux-kernel@xxxxxxxxxxxxxxx' <linux-
> kernel@xxxxxxxxxxxxxxx>; 'James.Bottomley@xxxxxxxxxxxxxxxxxxxxx'
> <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>;
> 'martin.petersen@xxxxxxxxxx' <martin.petersen@xxxxxxxxxx>;
> 'alim.akhtar@xxxxxxxxxxx' <alim.akhtar@xxxxxxxxxxx>;
> 'avri.altman@xxxxxxx' <avri.altman@xxxxxxx>; 'linux-samsung-
> soc@xxxxxxxxxxxxxxx' <linux-samsung-soc@xxxxxxxxxxxxxxx>
> Cc: 'pankaj.dubey@xxxxxxxxxxx' <pankaj.dubey@xxxxxxxxxxx>;
> 'aswani.reddy@xxxxxxxxxxx' <aswani.reddy@xxxxxxxxxxx>; 'Nimesh Sati'
> <nimesh.sati@xxxxxxxxxxx>
> Subject: RE: [PATCH] scsi: ufs: exynos: fsd: Gate ref_clk and put UFS device in
> reset on suspend
> 
> 
> > -----Original Message-----
> > From: Bart Van Assche <bvanassche@xxxxxxx>
> > Sent: 04 August 2025 21:17
> > To: Bharat Uppal <bharat.uppal@xxxxxxxxxxx>;
> > linux-scsi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> > James.Bottomley@xxxxxxxxxxxxxxxxxxxxx;
> > martin.petersen@xxxxxxxxxx; alim.akhtar@xxxxxxxxxxx;
> > avri.altman@xxxxxxx; linux-samsung-soc@xxxxxxxxxxxxxxx
> > Cc: pankaj.dubey@xxxxxxxxxxx; aswani.reddy@xxxxxxxxxxx; Nimesh
> Sati
> > <nimesh.sati@xxxxxxxxxxx>
> > Subject: Re: [PATCH] scsi: ufs: exynos: fsd: Gate ref_clk and put UFS
> > device in reset on suspend
> >
> > On 8/4/25 4:36 AM, Bharat Uppal wrote:
> > > +static int fsd_ufs_suspend(struct exynos_ufs *ufs) {
> > > +	exynos_ufs_gate_clks(ufs);
> > > +	hci_writel(ufs, 0 << 0, HCI_GPIO_OUT);
> > > +	return 0;
> > > +}
> >
> > Why '0 << 0' instead of just '0'? Isn't the latter easier to read?
> Thanks for reviewing.
> Indeed setting 0 is right, but in the same file ufs-exynos.c,  I have seen
> HCI_GPIO_OUT register configured using 0 << 0.
> My intent here is to maintain coding style within the file.
> 
> With Regards
> Bharat Uppal
> 
> >
> > Thanks,
> >
> > Bart.






[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux