diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-04-02 22:11:24 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-04-02 22:14:07 +0200 |
commit | 416da2260c31422bb6ac2b38f95945c3196b24f3 (patch) | |
tree | 1d94c64f369241e2feeac6fc28e5a4a37f93d928 /firmware | |
parent | eb6c6581bd73e63e6c936c86ef9f4e380e5a5110 (diff) |
Call tuner_power(true) from the correct place for lv24020lp.
This fixes radio not working on c200 and e200 (and possibly others),
as reported in FS#12631.
Change-Id: Idd66fa3b74916cc6f2de45ae7dd89b3bfd70f070
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/tuner/lv24020lp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c index 34fa0df9e2..533445f110 100644 --- a/firmware/drivers/tuner/lv24020lp.c +++ b/firmware/drivers/tuner/lv24020lp.c @@ -740,8 +740,7 @@ static int sd_setcmp(int regval) static void set_sleep(bool sleep) { - if (sleep) - tuner_power(false); + tuner_power(!sleep); if (sleep || tuner_awake()) return; @@ -749,7 +748,6 @@ static void set_sleep(bool sleep) (TUNER_PRESENT | TUNER_POWERED)) return; - tuner_power(true); enable_afc(false); /* 2. Calibrate the IF frequency at 110 kHz: */ |