diff options
author | Jean Delvare <jdelvare@suse.de> | 2018-04-11 18:03:31 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-04-11 23:07:14 +0200 |
commit | a086bb8317303dd74725dca933b9b29575159382 (patch) | |
tree | c772ccb7f58039ffe283f9717da859cc02ac5bbd /MAINTAINERS | |
parent | 8837c70d531a1788f975c366c254a5cb973a5291 (diff) |
i2c: i801: Save register SMBSLVCMD value only once
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@suse.de>
Fixes: 22e94bd6779e ("i2c: i801: store and restore the SLVCMD register at load and unload")
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@vger.kernel.org # v4.10+
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions