diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-06-07 21:07:49 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-06-07 21:07:49 +0000 |
commit | 6672766dfe374e26ee20efe010591b64529b2a0f (patch) | |
tree | 33188a91e0eb2fafd5a32dfa0168bf0794f32143 /firmware/drivers | |
parent | 331b23d15b765489a9abd344ddab9771125c3754 (diff) |
rda5802: don't use the si4700-specific exceptions for putting the tuner to sleep
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29984 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/tuner/rda5802.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/tuner/rda5802.c b/firmware/drivers/tuner/rda5802.c index f0f449cdf5..e82b5e3893 100644 --- a/firmware/drivers/tuner/rda5802.c +++ b/firmware/drivers/tuner/rda5802.c @@ -274,9 +274,7 @@ int rda5802_set(int setting, int value) { switch (setting) { case RADIO_SLEEP: - if (value != 2) { - rda5802_sleep(value); - } + rda5802_sleep(value); break; case RADIO_FREQUENCY: |