i2c: designware-pci: use IRQF_COND_SUSPEND flag
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 15 Jan 2016 20:02:12 +0000 (22:02 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Jan 2016 06:00:27 +0000 (07:00 +0100)
commit08c6e8cc66282a082484480c1a5641bc27d26c55
tree8b4de91df70c8f8aee3321d7463c5455b1fe98b3
parent83c60158ebf16417af28b338bc0380cf17f2b9f9
i2c: designware-pci: use IRQF_COND_SUSPEND flag

This is effectively reapplies the commit b0898fdaffb2 ("i2c: designware-pci: use
IRQF_COND_SUSPEND flag") after the commit d80d134182ba ("i2c: designware: Move
common probe code into i2c_dw_probe()"). Original message as follows.

The mentioned flag fixes a warning on Intel Edison board since one of the I2C
controller shares IRQ line with watchdog timer.

Fixes: d80d134182ba (i2c: designware: Move common probe code into i2c_dw_probe())
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-core.c