i2c: i801: store and restore the SLVCMD register at load and unload
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 13 Oct 2016 12:10:35 +0000 (14:10 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 Nov 2016 15:22:01 +0000 (16:22 +0100)
commit22e94bd6779e1140350c0792e85c79552ec43673
treef2c5a3a372bbc0a171c7f7c692d0e3f87076b454
parent6bec23bff914915822f2c34d0555902fb2b9be1f
i2c: i801: store and restore the SLVCMD register at load and unload

Also do not override any other configuration in this register.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c