diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-05 15:38:56 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-05 15:38:56 +0000 |
commit | 1801768ae27f3ec217a6cac7bd10ab23b75eac8f (patch) | |
tree | 1d54fc46fd991d92a54e81185ed44914415dba5b /firmware/drivers | |
parent | bc91c5a823de8f0747a080a7c1c5c9bd06e04d44 (diff) | |
download | rockbox-1801768ae27f3ec217a6cac7bd10ab23b75eac8f.tar.gz rockbox-1801768ae27f3ec217a6cac7bd10ab23b75eac8f.zip |
as3525v2: don't modify audioset2 as it seems the bits have changed
restore loud volume on Clip+
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index c161cd69d0..f9e5fd333f 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -173,11 +173,13 @@ void audiohw_preinit(void) | |||
173 | /* Turn on SUM, DAC */ | 173 | /* Turn on SUM, DAC */ |
174 | as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on); | 174 | as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on); |
175 | 175 | ||
176 | #ifndef HAVE_AS3543 | ||
176 | /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on, | 177 | /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on, |
177 | IBR_LSP max reduction (50%), taken from c200v2 OF | 178 | IBR_LSP max reduction (50%), taken from c200v2 OF |
178 | */ | 179 | */ |
179 | as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP | | 180 | as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP | |
180 | AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off |AUDIOSET2_DITH_off ); | 181 | AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off | AUDIOSET2_DITH_off ); |
182 | #endif | ||
181 | 183 | ||
182 | /* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the | 184 | /* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the |
183 | L-R signal on both L and R headphone outputs instead of normal stereo. | 185 | L-R signal on both L and R headphone outputs instead of normal stereo. |