diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2012-04-11 23:31:19 +0200 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2012-04-11 23:31:19 +0200 |
commit | 73732f406ebd3e5b85a70c8f7ff60fd26144551a (patch) | |
tree | 34e789d66ecd220430f208fe5b829429d19da715 /firmware/drivers/tuner/si4700.c | |
parent | c45984d5f4df5b5075dfb02fdda5b3d2848182ca (diff) | |
download | rockbox-73732f406ebd3e5b85a70c8f7ff60fd26144551a.tar.gz rockbox-73732f406ebd3e5b85a70c8f7ff60fd26144551a.zip |
si4700 tuner: fix power consumption issue caused by ill-defined power state at startup
Change-Id: I657bc7e3d330f436859cfef2a89b0813bc008c49
Diffstat (limited to 'firmware/drivers/tuner/si4700.c')
-rw-r--r-- | firmware/drivers/tuner/si4700.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/tuner/si4700.c b/firmware/drivers/tuner/si4700.c index 16ec136d2e..f133c806ef 100644 --- a/firmware/drivers/tuner/si4700.c +++ b/firmware/drivers/tuner/si4700.c | |||
@@ -368,6 +368,10 @@ void si4700_init(void) | |||
368 | mutex_init(&fmr_mutex); | 368 | mutex_init(&fmr_mutex); |
369 | /* check device id */ | 369 | /* check device id */ |
370 | if (si4700_detect()) { | 370 | if (si4700_detect()) { |
371 | /* make sure the tuner goes into a well-defined powered-off state */ | ||
372 | si4700_sleep(0); | ||
373 | si4700_sleep(1); | ||
374 | |||
371 | #ifdef HAVE_RDS_CAP | 375 | #ifdef HAVE_RDS_CAP |
372 | si4700_rds_init(); | 376 | si4700_rds_init(); |
373 | #endif | 377 | #endif |