forked from len0rd/rockbox
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
This commit is contained in:
parent
eb6c6581bd
commit
416da2260c
1 changed files with 1 additions and 3 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue