i2c: i801: Don't read back cleared status in i801_check_pre()
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 2 Dec 2021 09:53:05 +0000 (10:53 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 9 Dec 2021 14:51:16 +0000 (15:51 +0100)
commit8c7a89678f3befa42a05da67724bf501e3187023
treed64239832149947e8a2316994bb6d2db85d2291d
parentc4bcef90cc490685df116aede776e54ca567cef0
i2c: i801: Don't read back cleared status in i801_check_pre()

I see no need to read back the registers to verify that the bits
have actually been cleared. I can't imagine any scenario where
the bits would remain set after a write to them.

Whilst at it, change involved syslog messages to use pci_dbg() et al.
to simplify them.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c