1. Index: firmware/drivers/audio/as3514.c
  2. ===================================================================
  3. --- firmware/drivers/audio/as3514.c     (revision 25815)
  4. +++ firmware/drivers/audio/as3514.c     (working copy)
  5. @@ -173,17 +173,19 @@
  6.      /* Turn on SUM, DAC */
  7.      as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on);
  8.  
  9. -    /* Set BIAS on, DITH on, AGC on, IBR_DAC max, LSP_LP on, IBR_LSP min */
  10. -    as3514_write(AS3514_AUDIOSET2,
  11. -                 AUDIOSET2_IBR_DAC_0 | AUDIOSET2_LSP_LP |
  12. -                 AUDIOSET2_IBR_LSP_50);
  13. +    /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on,
  14. +       IBR_LSP max reduction (50%)
  15. +     */
  16. +    as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | UDIOSET2_LSP_LP |
  17. +            AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off |AUDIOSET2_DITH_off );
  18.  
  19.  /* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the
  20.     L-R signal on both L and R headphone outputs instead of normal stereo.
  21.     Turning it off saves a little power on targets that don't need it. */
  22.  #if (CONFIG_CPU == AS3525)
  23. -    /* Set HPCM on, ZCU on */
  24. -    as3514_write(AS3514_AUDIOSET3, 0);
  25. +    /* Set HPCM on, ZCU off, reduce bias current, settings taken from c200v2 OF
  26. +     */
  27. +    as3514_write(AS3514_AUDIOSET3, AUDIOSET3_IBR_HPH | AUDIOSET3_ZCU_off);
  28.  #else
  29.      /* Set HPCM off, ZCU on */
  30.      as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_off);