mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
[init.cpp] fix spark
Origin commit data
------------------
Branch: master
Commit: 22ab9e6f89
Author: max_10 <max_10@gmx.de>
Date: 2014-05-01 (Thu, 01 May 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -268,8 +268,10 @@ void init_td_api()
|
||||
{
|
||||
cCpuFreqManager f;
|
||||
f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */
|
||||
#if 0
|
||||
create_input_devices();
|
||||
start_inmux_thread();
|
||||
#endif
|
||||
|
||||
/* this is a strange hack: the drivers seem to only work correctly after
|
||||
* demux0 has been used once. After that, we can use demux1,2,... */
|
||||
@@ -288,8 +290,11 @@ void init_td_api()
|
||||
ioctl(dmx, DMX_STOP);
|
||||
close(dmx);
|
||||
}
|
||||
} else
|
||||
}
|
||||
#if 0
|
||||
else
|
||||
reopen_input_devices();
|
||||
#endif
|
||||
initialized = true;
|
||||
lt_info("%s end\n", __FUNCTION__);
|
||||
}
|
||||
@@ -297,9 +302,11 @@ void init_td_api()
|
||||
void shutdown_td_api()
|
||||
{
|
||||
lt_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized);
|
||||
#if 0
|
||||
if (initialized) {
|
||||
stop_inmux_thread();
|
||||
close_input_devices();
|
||||
}
|
||||
#endif
|
||||
initialized = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user