From c44117cefd0e09f8d84e4a1f8172c3dfa7d0b81f Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 11 Mar 2010 00:28:39 +0000 Subject: [xburst] n516-lpc: Fix irq strom during resume git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20127 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c') diff --git a/target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c b/target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c index 1be5f9572..20357ee2e 100644 --- a/target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c +++ b/target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c @@ -211,7 +211,7 @@ static irqreturn_t n516_lpc_irq_thread(int irq, void *devid) struct i2c_client *client = chip->i2c_client; struct i2c_msg msg = {client->addr, client->flags | I2C_M_RD, 1, &raw_msg}; - if (client->dev.power.status != DPM_ON) + if (client->dev.power.status >= DPM_OFF) return IRQ_HANDLED; ret = i2c_transfer(client->adapter, &msg, 1); -- cgit v1.2.3