Actually power off the lv24020 tuner (Sansa e200/c200). Don't clear the TUNER_POWERED flag until after writing to the device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15876 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea4fc14a7f
commit
36ee6532c5
1 changed files with 2 additions and 2 deletions
|
@ -832,11 +832,11 @@ void lv24020lp_power(bool status)
|
|||
}
|
||||
else
|
||||
{
|
||||
tuner_status &= ~(TUNER_POWERED | TUNER_AWAKE);
|
||||
|
||||
/* Power off */
|
||||
if (tuner_status & TUNER_PRESENT)
|
||||
lv24020lp_write_and(PW_SCTRL, ~PW_RAD);
|
||||
|
||||
tuner_status &= ~(TUNER_POWERED | TUNER_AWAKE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue