|
|
@@ -526,6 +526,7 @@ static int __maybe_unused silead_ts_suspend(struct device *dev)
|
|
|
{
|
|
|
struct i2c_client *client = to_i2c_client(dev);
|
|
|
|
|
|
+ disable_irq(client->irq);
|
|
|
silead_ts_set_power(client, SILEAD_POWER_OFF);
|
|
|
return 0;
|
|
|
}
|
|
|
@@ -551,6 +552,8 @@ static int __maybe_unused silead_ts_resume(struct device *dev)
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
+ enable_irq(client->irq);
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|