Commit 4ecc2d75 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[media] smiapp: Set use suspend and resume ops for other functions

Use the suspend and resume ops for freeze, thaw, poweroff and restore
callbacks as well.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarSebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent df77542e
...@@ -3111,8 +3111,7 @@ static const struct i2c_device_id smiapp_id_table[] = { ...@@ -3111,8 +3111,7 @@ static const struct i2c_device_id smiapp_id_table[] = {
MODULE_DEVICE_TABLE(i2c, smiapp_id_table); MODULE_DEVICE_TABLE(i2c, smiapp_id_table);
static const struct dev_pm_ops smiapp_pm_ops = { static const struct dev_pm_ops smiapp_pm_ops = {
.suspend = smiapp_suspend, SET_SYSTEM_SLEEP_PM_OPS(smiapp_suspend, smiapp_resume)
.resume = smiapp_resume,
}; };
static struct i2c_driver smiapp_i2c_driver = { static struct i2c_driver smiapp_i2c_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment