summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio')
-rw-r--r--firmware/drivers/audio/as3514.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index 41577a3b5e..825cf51655 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -194,7 +194,14 @@ void audiohw_postinit(void)
194 /* wait until outputs have stabilized */ 194 /* wait until outputs have stabilized */
195 sleep(HZ/4); 195 sleep(HZ/4);
196 196
197/* Sansa Clip and Sansa m200v4 need HPCM enabled, otherwise they output
198 the L-R signal on both L and R headphone outputs instead of normal stereo.
199 TODO : If this turns out to apply to all ams3525 targets, consider
200 simplifying the precompiler condition to #if defined(AS3525).
201*/
202#if !defined(SANSA_CLIP) && !defined(SANSA_M200V4)
197 as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_off); 203 as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_off);
204#endif
198 205
199#ifdef CPU_PP 206#ifdef CPU_PP
200 ascodec_suppressor_on(false); 207 ascodec_suppressor_on(false);