asoc: bolero: Call swr device down before setting ssr down
Invoke swr device down callback to set soundwire master to reset state before setting ssr down flag. This is to ensure master is reset to proper state after ssr/pdr. Change-Id: Ifb5548f603ac03b772006314f4723c0ac0176928 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
a4c747b6d5
commit
5ee54aee41
@@ -924,10 +924,10 @@ static int wsa_macro_event_handler(struct snd_soc_component *component,
|
||||
case BOLERO_MACRO_EVT_SSR_DOWN:
|
||||
swrm_wcd_notify(
|
||||
wsa_priv->swr_ctrl_data[0].wsa_swr_pdev,
|
||||
SWR_DEVICE_SSR_DOWN, NULL);
|
||||
SWR_DEVICE_DOWN, NULL);
|
||||
swrm_wcd_notify(
|
||||
wsa_priv->swr_ctrl_data[0].wsa_swr_pdev,
|
||||
SWR_DEVICE_DOWN, NULL);
|
||||
SWR_DEVICE_SSR_DOWN, NULL);
|
||||
break;
|
||||
case BOLERO_MACRO_EVT_SSR_UP:
|
||||
/* reset swr after ssr/pdr */
|
||||
|
Reference in New Issue
Block a user