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)
commitaeb8a3d16ae0faceeae77adde2d3f9f2b199f4d9
tree7ab95cb3f0ca822ebf8f95b3a2c0b54b24ae1310
parentae9447171748180d4e946839c5eed6123f07f943
i2c: i801: Check if interrupts are disabled

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