Re: [PATCH 1/2 v2] i2c: i801: Save register SMBSLVCMD value only once

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

 



On Wed, Apr 11, 2018 at 06:03:31PM +0200, Jean Delvare wrote:
> Saving the original value of register SMBSLVCMD in
> i801_enable_host_notify() doesn't work, because this function is
> called not only at probe time but also at resume time. Do it in
> i801_probe() instead, so that the saved value is not overwritten at
> resume time.
> 
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> Fixes: 22e94bd6779e ("i2c: i801: store and restore the SLVCMD register at load and unload")
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> Tested-by: Jason Andryuk <jandryuk@xxxxxxxxx>
> Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx	# v4.10+

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux