[9610] media: radio: Add call abox_request_cpu_gear()
authorYunsu Kim <iamyunsu.kim@samsung.com>
Tue, 19 Jun 2018 04:53:14 +0000 (13:53 +0900)
committer강신형 <s47.kang@samsung.com>
Wed, 20 Jun 2018 00:39:54 +0000 (09:39 +0900)
Change-Id: I5a13a03c37a10cde3cb287c977b8aa70dbb0599b
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
drivers/media/radio/s610/radio-s610.c

index 07817a376e6bd5a4aefb390c6a99d2e430584b78..0b1394c2e68c47e458ccd4516b8963b4e245c82b 100644 (file)
@@ -45,7 +45,7 @@
 #include "fm_low_struc.h"
 #include "radio-s610.h"
 
-//#include "../../../../sound/soc/samsung/abox/abox.h"
+#include "../../../../sound/soc/samsung/abox/abox.h"
 
 static int radio_region;
 module_param(radio_region, int, 0);
@@ -1521,8 +1521,8 @@ static int s610_radio_fops_open(struct file *file)
                                goto err_open;
                        }
 
-//                     abox_request_cpu_gear_sync(radio->a_dev,
-//                             dev_get_drvdata(radio->a_dev), radio->dev, ABOX_CPU_GEAR_MAX);
+                       abox_request_cpu_gear_sync(radio->a_dev,
+                               dev_get_drvdata(radio->a_dev), radio->dev, ABOX_CPU_GEAR_MAX);
                }
 #endif /* USE_AUDIO_PM */
 
@@ -1648,8 +1648,8 @@ static int s610_radio_fops_release(struct file *file)
                pm_runtime_put_sync(radio->dev);
 #ifdef USE_AUDIO_PM
                if (radio->a_dev) {
-//                     abox_request_cpu_gear_sync(radio->a_dev,
-//                             dev_get_drvdata(radio->a_dev), radio->dev, ABOX_CPU_GEAR_MIN);
+                       abox_request_cpu_gear_sync(radio->a_dev,
+                               dev_get_drvdata(radio->a_dev), radio->dev, ABOX_CPU_GEAR_MIN);
 
                        pm_runtime_put_sync(radio->a_dev);
                }