From: qjb Date: Tue, 3 Jun 2014 03:05:21 +0000 (+0800) Subject: i2s : fix i2s suspend resume set error X-Git-Tag: firefly_0821_release~5196 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c69849fe1aea5286fdf55031a06eb9fb2c0e8276;p=firefly-linux-kernel-4.4.55.git i2s : fix i2s suspend resume set error --- diff --git a/sound/soc/rockchip/rk30_i2s.c b/sound/soc/rockchip/rk30_i2s.c index dd4a6fa89f5f..72784ab2058a 100755 --- a/sound/soc/rockchip/rk30_i2s.c +++ b/sound/soc/rockchip/rk30_i2s.c @@ -682,8 +682,8 @@ MODULE_DEVICE_TABLE(of, exynos_i2s_match); #endif static const struct dev_pm_ops rockchip_i2s_pm_ops = { - SET_RUNTIME_PM_OPS(rockchip_i2s_suspend_noirq, - rockchip_i2s_resume_noirq, NULL) + .suspend_noirq = rockchip_i2s_suspend_noirq, + .resume_noirq = rockchip_i2s_resume_noirq, }; static struct platform_driver rockchip_i2s_driver = {