From: Yunsu Kim Date: Tue, 19 Jun 2018 04:53:14 +0000 (+0900) Subject: [9610] media: radio: Add call abox_request_cpu_gear() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7a8838cceb84d1517f9349bf913addd7f97b5f0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] media: radio: Add call abox_request_cpu_gear() Change-Id: I5a13a03c37a10cde3cb287c977b8aa70dbb0599b Signed-off-by: Yunsu Kim --- 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); }