From 42189d2e991d6ca11243b5cbb31011abd5abdcb0 Mon Sep 17 00:00:00 2001 From: max_10 Date: Sun, 12 Jun 2016 16:53:31 +0200 Subject: [PATCH] update for spark uinput Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/0215a673f557957cded86d55be5a14f489bf05f6 Author: max_10 Date: 2016-06-12 (Sun, 12 Jun 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libspark/init.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libspark/init.cpp b/libspark/init.cpp index d14c0ed..1e6ac3b 100644 --- a/libspark/init.cpp +++ b/libspark/init.cpp @@ -271,10 +271,8 @@ void init_td_api() { cCpuFreqManager f; f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */ -#ifdef BOXMODEL_SPARK7162 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,... */ @@ -294,10 +292,8 @@ void init_td_api() close(dmx); } } -#ifdef BOXMODEL_SPARK7162 else reopen_input_devices(); -#endif initialized = true; lt_info("%s end\n", __FUNCTION__); } @@ -305,11 +301,9 @@ void init_td_api() void shutdown_td_api() { lt_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized); -#ifdef BOXMODEL_SPARK7162 if (initialized) { stop_inmux_thread(); close_input_devices(); } -#endif initialized = false; }