asoc: codecs: bolero: add compander soft reset event
Add compander soft reset event that can be requested from a slave codec to reset at power down to reduce click and pop noise. Change-Id: I2f6ff182e258e02979166b0e76b6a1d439b1cf87 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
此提交包含在:
@@ -208,6 +208,12 @@ static int bolero_cdc_update_wcd_event(void *handle, u16 event, u32 data)
|
||||
priv->component,
|
||||
BOLERO_MACRO_EVT_IMPED_FALSE, data);
|
||||
break;
|
||||
case WCD_BOLERO_EVT_RX_COMPANDER_SOFT_RST:
|
||||
if (priv->macro_params[RX_MACRO].event_handler)
|
||||
priv->macro_params[RX_MACRO].event_handler(
|
||||
priv->component,
|
||||
BOLERO_MACRO_EVT_RX_COMPANDER_SOFT_RST, data);
|
||||
break;
|
||||
default:
|
||||
dev_err(priv->dev, "%s: Invalid event %d trigger from wcd\n",
|
||||
__func__, event);
|
||||
|
新增問題並參考
封鎖使用者