-
由 Grzegorz Jaszczyk 提交于
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: NGrzegorz Jaszczyk <jaz@semihalf.com> Reviewed-by: NNadav Haklai <nadavh@marvell.com> Reviewed-by: NLior Amsalem <alior@marvell.com> Tested-by: NLior Amsalem <alior@marvell.com> [Thomas: switch to dev_pm_ops, fix build warning when !PM.] Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
a4f64ae2