From 7af0fea40b41e90123908e0ea104f70dfc370edb Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 6 Oct 2019 02:05:22 +0300 Subject: power: Clean up and fix video encode/decode hint handling * Unify code style for non legacy SoCs * Restore legacy SoC handling which used to live in power-common.c but was removed in commit 561cffcbfa66192e839e040d2da3bff2ecf8dcac Change-Id: Ieb84e6d6c8d762614e21267e81e6057aa64b36dd --- power-8998.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'power-8998.c') diff --git a/power-8998.c b/power-8998.c index e786f5c..7fcc347 100644 --- a/power-8998.c +++ b/power-8998.c @@ -150,7 +150,6 @@ static int process_video_encode_hint(void* metadata) { if (get_scaling_governor(governor, sizeof(governor)) == -1) { ALOGE("Can't obtain scaling governor."); - return HINT_NONE; } @@ -171,7 +170,6 @@ static int process_video_encode_hint(void* metadata) { } else if (video_encode_metadata.state == 0) { if (is_interactive_governor(governor)) { release_request(video_encode_handle); - ALOGI("Video Encode hint stop"); return HINT_HANDLED; } } -- cgit v1.2.3