mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
si4700 tuner: fix power consumption issue caused by ill-defined power state at startup
Change-Id: I657bc7e3d330f436859cfef2a89b0813bc008c49
This commit is contained in:
parent
c45984d5f4
commit
73732f406e
1 changed files with 4 additions and 0 deletions
|
|
@ -368,6 +368,10 @@ void si4700_init(void)
|
||||||
mutex_init(&fmr_mutex);
|
mutex_init(&fmr_mutex);
|
||||||
/* check device id */
|
/* check device id */
|
||||||
if (si4700_detect()) {
|
if (si4700_detect()) {
|
||||||
|
/* make sure the tuner goes into a well-defined powered-off state */
|
||||||
|
si4700_sleep(0);
|
||||||
|
si4700_sleep(1);
|
||||||
|
|
||||||
#ifdef HAVE_RDS_CAP
|
#ifdef HAVE_RDS_CAP
|
||||||
si4700_rds_init();
|
si4700_rds_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue