Re: [PATCH 1/4] thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume

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

 



On Fri, Feb 11, 2022 at 03:04:34PM +0530, Sumeet Pawnikar wrote:
> From: Antoine Tenart <atenart@xxxxxxxxxx>
> 
> When the driver resumes, the tcc offset is set back to its previous
> value. But this only works if the value was user defined as otherwise
> the offset isn't saved. This asymmetric logic is harder to maintain and
> introduced some issues.
> 
> Improve the logic by saving the tcc offset in a suspend op, so the right
> value is always restored after a resume.
> 
> Signed-off-by: Antoine Tenart <atenart@xxxxxxxxxx>
> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
> Tested-by: Srinivas Pandruvada <srinivas.pI andruvada@xxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20210909085613.5577-3-atenart@xxxxxxxxxx
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
> Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@xxxxxxxxx>
> ---

What is the git commit id of this commit in Linus's tree?

Same for the other 3, I need a hint here please...

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux