Change-Id: I4efab8f8fcbd2eb195ec3fd274e5665f52c64242
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
FUNC_ENTRY(radio);
- if (pm_runtime_suspended(dev))
- return 0;
-
- fm_radio_clk_disable(radio);
-
return 0;
}
static int fm_radio_resume(struct device *dev)
{
struct s610_radio *radio = dev_get_drvdata(dev);
- int ret = 0;
FUNC_ENTRY(radio);
- ret = fm_radio_clk_enable(radio);
- if (ret) {
- dev_err(dev, "%s: clk_enable failed\n", __func__);
- return ret;
- }
-
return 0;
}
#endif /* CONFIG_PM_SLEEP */