summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner/rda5802.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/tuner/rda5802.c')
-rw-r--r--firmware/drivers/tuner/rda5802.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/tuner/rda5802.c b/firmware/drivers/tuner/rda5802.c
index c07adc1f07..a6c73a5e21 100644
--- a/firmware/drivers/tuner/rda5802.c
+++ b/firmware/drivers/tuner/rda5802.c
@@ -177,9 +177,12 @@ static void rda5802_sleep(int snooze)
177 rda5802_write_clear(POWERCFG, POWERCFG_ENABLE); 177 rda5802_write_clear(POWERCFG, POWERCFG_ENABLE);
178 } 178 }
179 else { 179 else {
180 tuner_power(true);
180 rda5802_write_set(POWERCFG, POWERCFG_ENABLE); 181 rda5802_write_set(POWERCFG, POWERCFG_ENABLE);
181 } 182 }
182 rda5802_write_cache(); 183 rda5802_write_cache();
184 if(snooze)
185 tuner_power(false);
183} 186}
184 187
185bool rda5802_detect(void) 188bool rda5802_detect(void)