Resolve the issue of automatic sleep wake-up for husb311
This commit is contained in:
parent
e1254c1e42
commit
36f6e03329
@ -332,8 +332,8 @@ static int husb311_pm_suspend(struct device *dev)
|
||||
struct i2c_client *client = to_i2c_client(dev);
|
||||
|
||||
if (device_may_wakeup(dev) && (!chip->vbus_on || chip->wakeup))
|
||||
enable_irq_wake(client->irq);
|
||||
else
|
||||
//enable_irq_wake(client->irq);
|
||||
//else
|
||||
disable_irq(client->irq);
|
||||
|
||||
if (!chip->suspended) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user