diff options
author | Jean Delvare <[email protected]> | 2018-04-11 18:03:31 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-04-11 23:07:14 +0200 |
commit | a086bb8317303dd74725dca933b9b29575159382 (patch) | |
tree | c772ccb7f58039ffe283f9717da859cc02ac5bbd /tools/perf/scripts/python/export-to-postgresql.py | |
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 <[email protected]>
Fixes: 22e94bd6779e ("i2c: i801: store and restore the SLVCMD register at load and unload")
Reviewed-by: Benjamin Tissoires <[email protected]>
Tested-by: Jason Andryuk <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected] # v4.10+
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions