[9610] media: radio: Remove clk control while suspend/resume
authorYunsu Kim <iamyunsu.kim@samsung.com>
Mon, 2 Jul 2018 03:57:28 +0000 (12:57 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Mon, 2 Jul 2018 08:51:00 +0000 (17:51 +0900)
Change-Id: I4efab8f8fcbd2eb195ec3fd274e5665f52c64242
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
drivers/media/radio/s610/radio-s610.c

index 79582c3b5fe450559e45eb6ecc3b8adecf918805..3d80bc319a09bc3fdeccdeefd6b250178f2af9f3 100644 (file)
@@ -2518,27 +2518,15 @@ static int fm_radio_suspend(struct device *dev)
 
        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 */