diff options
Diffstat (limited to 'firmware/drivers/tuner/tea5767.c')
-rw-r--r-- | firmware/drivers/tuner/tea5767.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/tuner/tea5767.c b/firmware/drivers/tuner/tea5767.c index 3f3af68602..da12a9bb05 100644 --- a/firmware/drivers/tuner/tea5767.c +++ b/firmware/drivers/tuner/tea5767.c | |||
@@ -106,7 +106,11 @@ int tea5767_set(int setting, int value) | |||
106 | return -1; | 106 | return -1; |
107 | } | 107 | } |
108 | 108 | ||
109 | if(setting == RADIO_SLEEP && !value) | ||
110 | tuner_power(true); /* wakeup */ | ||
109 | fmradio_i2c_write(I2C_ADR, write_bytes, sizeof(write_bytes)); | 111 | fmradio_i2c_write(I2C_ADR, write_bytes, sizeof(write_bytes)); |
112 | if(setting == RADIO_SLEEP && value) | ||
113 | tuner_power(false); /* sleep */ | ||
110 | return 1; | 114 | return 1; |
111 | } | 115 | } |
112 | 116 | ||