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