From a7a8838cceb84d1517f9349bf913addd7f97b5f0 Mon Sep 17 00:00:00 2001 From: Yunsu Kim Date: Tue, 19 Jun 2018 13:53:14 +0900 Subject: [PATCH] [9610] media: radio: Add call abox_request_cpu_gear() Change-Id: I5a13a03c37a10cde3cb287c977b8aa70dbb0599b Signed-off-by: Yunsu Kim --- drivers/media/radio/s610/radio-s610.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/radio/s610/radio-s610.c b/drivers/media/radio/s610/radio-s610.c index 07817a376e6b..0b1394c2e68c 100644 --- a/drivers/media/radio/s610/radio-s610.c +++ b/drivers/media/radio/s610/radio-s610.c @@ -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); } -- 2.20.1