summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-05 15:38:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-05 15:38:56 +0000
commit1801768ae27f3ec217a6cac7bd10ab23b75eac8f (patch)
tree1d54fc46fd991d92a54e81185ed44914415dba5b
parentbc91c5a823de8f0747a080a7c1c5c9bd06e04d44 (diff)
downloadrockbox-1801768ae27f3ec217a6cac7bd10ab23b75eac8f.tar.gz
rockbox-1801768ae27f3ec217a6cac7bd10ab23b75eac8f.tar.bz2
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
-rw-r--r--firmware/drivers/audio/as3514.c4
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)
/* Turn on SUM, DAC */
as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on);
+#ifndef HAVE_AS3543
/* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on,
IBR_LSP max reduction (50%), taken from c200v2 OF
*/
as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP |
- AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off |AUDIOSET2_DITH_off );
+ AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off | AUDIOSET2_DITH_off );
+#endif
/* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the
L-R signal on both L and R headphone outputs instead of normal stereo.