i2c: i801: Check if interrupts are disabled
authorJean Delvare <jdelvare@suse.de>
Wed, 12 Nov 2014 09:25:37 +0000 (10:25 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 12 Nov 2014 15:26:41 +0000 (16:26 +0100)
There is a control bit in the PCI configuration space which disables
interrupts. If this bit is set, the driver should not try to make use
of interrupts, it won't receive any.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c

Simple merge