i2c: i801: Fallback to polling if request_irq() fails
authorJean Delvare <jdelvare@suse.de>
Wed, 12 Nov 2014 09:24:07 +0000 (10:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 12 Nov 2014 15:26:32 +0000 (16:26 +0100)
commitae9447171748180d4e946839c5eed6123f07f943
tree81c59814e9f22eb01626ec7d4a8e0558405f2987
parentb3b8df97723d84c826d7419bf727a711a4efa068
i2c: i801: Fallback to polling if request_irq() fails

The i2c-i801 driver can work without interrupts, so there is no reason
to make a request_irq failure fatal. Instead we can simply fallback
to polling.

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