asoc: codecs: Fix CnP on HPH turnon and turnoff

On headphone(HPH) path, CnP spec is not met.
Handle sequences for bolero and tanggu codecs
as per HW sequences. Disable vdd_buck during
system suspend when no usecase is active.

CRs-Fixed: 2343436
Change-Id: I62f89d829715f07885a97531fdcb2cc3ca0822ef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2018-11-14 20:36:08 +05:30
förälder e95846085a
incheckning 35849ccf24
3 ändrade filer med 119 tillägg och 73 borttagningar

Visa fil

@@ -68,6 +68,8 @@ struct wcd937x_priv {
struct wcd_irq_info irq_info;
u32 rx_clk_cnt;
int num_irq_regs;
/* to track the status */
unsigned long status_mask;
u8 num_tx_ports;
u8 num_rx_ports;