Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81705c8c authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoC: wcd9330: Wait for enough time for HPH PA to settle



After Headphone PAs are disabled, there needs to be 5ms
delay before they re-enable again. Having delay less than
5ms will cause PAs not get enabled thus causing audio mute.

CRs-Fixed: 777384
Change-Id: I9203ce9a79af06121890628d7e3493a77329291e
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 0580b551
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -58,7 +58,7 @@ enum {
#define TOMTOM_VALIDATE_RX_SBPORT_RANGE(port) ((port >= 16) && (port <= 23))
#define TOMTOM_CONVERT_RX_SBPORT_ID(port) (port - 16) /* RX1 port ID = 0 */

#define TOMTOM_HPH_PA_SETTLE_COMP_ON 3000
#define TOMTOM_HPH_PA_SETTLE_COMP_ON 5000
#define TOMTOM_HPH_PA_SETTLE_COMP_OFF 13000
#define TOMTOM_HPH_PA_RAMP_DELAY 30000