mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libspark: add remaining misc stuff
Now the standalone lib can be built :-)
Origin commit data
------------------
Branch: master
Commit: 8ae65760bc
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-11 (Sat, 11 Feb 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -23,10 +23,13 @@ if BOXTYPE_SPARK
|
||||
SUBDIRS += libspark
|
||||
libstb_hal_a_LIBADD += \
|
||||
libspark/audio.o \
|
||||
libspark/ca.o \
|
||||
libspark/dmx.o \
|
||||
libspark/init.o \
|
||||
libspark/irmp.o \
|
||||
libspark/lt_dfbinput.o \
|
||||
libspark/playback.o \
|
||||
libspark/pwrmngr.o \
|
||||
libspark/record.o \
|
||||
libspark/video.o
|
||||
endif
|
||||
|
@@ -8,8 +8,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <avs/avs_inf.h>
|
||||
|
||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_PWRMNGR, this, args)
|
||||
void cCpuFreqManager::Up(void) { lt_debug("%s\n", __FUNCTION__); }
|
||||
void cCpuFreqManager::Down(void) { lt_debug("%s\n", __FUNCTION__); }
|
||||
@@ -45,6 +43,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
|
||||
* f == 50000000 => min => standby
|
||||
*/
|
||||
lt_debug("%s(%lu) => set standby = %s\n", __FUNCTION__, f, f?"true":"false");
|
||||
#if 0
|
||||
int fd = open("/dev/stb/tdsystem", O_RDONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
@@ -65,6 +64,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
|
||||
}
|
||||
|
||||
close(fd);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user