Skip to content
Commit a4f64ae2 authored by Grzegorz Jaszczyk's avatar Grzegorz Jaszczyk Committed by Wolfram Sang
Browse files

i2c: mv64xxx: add suspend/resume support



This commit implements suspend/resume support in the mv64xxx I2C
controller driver. There is no need to implement a ->suspend() hook, as
calling mv64xxx_i2c_hw_init() at ->resume() time is enough.

Signed-off-by: default avatarGrzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: default avatarNadav Haklai <nadavh@marvell.com>
Reviewed-by: default avatarLior Amsalem <alior@marvell.com>
Tested-by: default avatarLior Amsalem <alior@marvell.com>
[Thomas: switch to dev_pm_ops, fix build warning when !PM.]
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 62817fc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment