]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: sis630: clear sticky bits
authorAmaury Decrême <amaury.decreme@gmail.com>
Mon, 28 Jan 2013 21:21:06 +0000 (22:21 +0100)
committerWolfram Sang <wolfram@the-dreams.de>
Mon, 11 Feb 2013 14:59:38 +0000 (15:59 +0100)
commitaa9e7a39c5a5a77ff02670ef915f4c6712bc7658
treee236c6a1c0a53ec7ec8782bd1cf2a02cda16a9ca
parent974d6a3797001c88e59ccb78567c6d71ac526c43
i2c: sis630: clear sticky bits

The sticky bits must be cleared at the end of the transaction by writing
a 1 to all fields.

Datasheet:
SMBus Status (SMB_STS)
The following registers are all sticky bits and only can be
cleared by writing a one to their corresponding fields.

Signed-off-by: Amaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
drivers/i2c/busses/i2c-sis630.c