From 39c0b7c28bb0f9ac5f997fad794104e528f99d74 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 16 Apr 2012 17:59:31 +0400 Subject: [PATCH] neutrino.cpp: wakeup power/video before setting CEC --- src/neutrino.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 3258bf8ee..fbb470596 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3231,6 +3231,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) powerManager->SetStandby(true, false); } else { // Active standby off + cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000); + powerManager->SetStandby(false, false); + videoDecoder->Standby(false); if(init_cec_setting){ //init cec settings @@ -3239,10 +3242,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) init_cec_setting = false; } - cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000); - - powerManager->SetStandby(false, false); - if(!recordingstatus && g_settings.ci_standby_reset) { g_CamHandler->exec(NULL, "ca_ci_reset0"); g_CamHandler->exec(NULL, "ca_ci_reset1"); @@ -3286,7 +3285,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */ channelList->zapTo_ChannelID(live_channel_id); - videoDecoder->Standby(false); g_Sectionsd->setPauseScanning(false); //g_Sectionsd->setServiceChanged(live_channel_id, true );