|
@@ -542,11 +542,12 @@ static struct pmac_i2c_host_kw *__init kw_i2c_host_init(struct device_node *np)
|
|
/* Make sure IRQ is disabled */
|
|
/* Make sure IRQ is disabled */
|
|
kw_write_reg(reg_ier, 0);
|
|
kw_write_reg(reg_ier, 0);
|
|
|
|
|
|
- /* Request chip interrupt. We set IRQF_TIMER because we don't
|
|
|
|
|
|
+ /* Request chip interrupt. We set IRQF_NO_SUSPEND because we don't
|
|
* want that interrupt disabled between the 2 passes of driver
|
|
* want that interrupt disabled between the 2 passes of driver
|
|
* suspend or we'll have issues running the pfuncs
|
|
* suspend or we'll have issues running the pfuncs
|
|
*/
|
|
*/
|
|
- if (request_irq(host->irq, kw_i2c_irq, IRQF_TIMER, "keywest i2c", host))
|
|
|
|
|
|
+ if (request_irq(host->irq, kw_i2c_irq, IRQF_NO_SUSPEND,
|
|
|
|
+ "keywest i2c", host))
|
|
host->irq = NO_IRQ;
|
|
host->irq = NO_IRQ;
|
|
|
|
|
|
printk(KERN_INFO "KeyWest i2c @0x%08x irq %d %s\n",
|
|
printk(KERN_INFO "KeyWest i2c @0x%08x irq %d %s\n",
|