From 1670aa727447abac574ce5c6542919ace9057788 Mon Sep 17 00:00:00 2001 From: Zhe Wang Date: Tue, 12 Mar 2019 08:36:39 +0000 Subject: audio: tune audio volume slew time [1/1] PD#SWPL-5845 Problem: audio playback too slow Solution: change audio volume slew time Verify: Locally test on X301 Change-Id: I48c920037cac852aaa01818bb02eaa8991c1df6b Signed-off-by: Zhe Wang --- diff --git a/sound/soc/amlogic/auge/effects_hw_v2.c b/sound/soc/amlogic/auge/effects_hw_v2.c index e6b22ab..63b0f31 100644 --- a/sound/soc/amlogic/auge/effects_hw_v2.c +++ b/sound/soc/amlogic/auge/effects_hw_v2.c @@ -184,7 +184,7 @@ void aed_set_volume( (Rch_vol << 8) | /* channel 2 volume: 0dB */ (Lch_vol << 0) /* channel 1 volume: 0dB */ ); - eqdrc_write(AED_EQ_VOLUME_SLEW_CNT, 0x200); /*10ms*/ + eqdrc_write(AED_EQ_VOLUME_SLEW_CNT, 0x2); /*40ms from -120dB~0dB*/ eqdrc_write(AED_MUTE, 0); } -- cgit