diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-05 01:43:47 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-05 01:43:47 +0000 |
| commit | 8653c0a5670529b32c0a4d72a704972eb413e14b (patch) | |
| tree | 76b173a44adf0cbe3a6042b6b537a7b3e46c7c95 | |
| parent | 5e0b407edff3ba11b54f1f495eed11199361cf38 (diff) | |
| download | rockbox-8653c0a5670529b32c0a4d72a704972eb413e14b.zip rockbox-8653c0a5670529b32c0a4d72a704972eb413e14b.tar.gz rockbox-8653c0a5670529b32c0a4d72a704972eb413e14b.tar.bz2 rockbox-8653c0a5670529b32c0a4d72a704972eb413e14b.tar.xz | |
Sansa AMS: do not pretend we can power off the tuner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25029 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/target/arm/as3525/power-as3525.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/firmware/target/arm/as3525/power-as3525.c b/firmware/target/arm/as3525/power-as3525.c index 2fbeab0..3570d7c 100644 --- a/firmware/target/arm/as3525/power-as3525.c +++ b/firmware/target/arm/as3525/power-as3525.c @@ -54,21 +54,14 @@ void ide_power_enable(bool on) } #if CONFIG_TUNER -static bool tuner_on = false; - bool tuner_power(bool status) { - if (status != tuner_on) - { - tuner_on = status; - status = !status; - } - - return status; + (void) status; + return true; } bool tuner_powered(void) { - return tuner_on; /* No debug info */ + return true; } #endif |