diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 00:28:39 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 00:28:39 +0000 |
commit | f67465a4cd7fe80c868cb7ddcada461a8952a8a8 (patch) | |
tree | 3ec5771f099a12d1d2d32eb7f102e2b44a321e51 /target | |
parent | e8ed3fe3270b9d7d984aa2a2c9d1209c090dffa6 (diff) | |
download | upstream-f67465a4cd7fe80c868cb7ddcada461a8952a8a8.tar.gz upstream-f67465a4cd7fe80c868cb7ddcada461a8952a8a8.tar.bz2 upstream-f67465a4cd7fe80c868cb7ddcada461a8952a8a8.zip |
[xburst] n516-lpc: Fix irq strom during resume
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20127 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/xburst/files-2.6.32/drivers/i2c/chips/n516-lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 1be5f95724..20357ee2eb 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); |