asoc: bolero: force bolero runtime suspend during adsp ssr
During adsp SSR, bolero runtime suspend is not called and hw vote clks are not reset. Force bolero runtime suspend during adsp SSR to avoid kernel panic. Change-Id: Iff5983ef07f77ecc7f3f344948c013906b4bad60 Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
@@ -354,6 +354,8 @@ static int tx_macro_event_handler(struct snd_soc_component *component,
|
||||
tx_priv->swr_ctrl_data[0].tx_swr_pdev,
|
||||
SWR_DEVICE_SSR_DOWN, NULL);
|
||||
}
|
||||
if (!pm_runtime_status_suspended(tx_dev))
|
||||
bolero_runtime_suspend(tx_dev);
|
||||
break;
|
||||
case BOLERO_MACRO_EVT_SSR_UP:
|
||||
/* reset swr after ssr/pdr */
|
||||
|
Reference in New Issue
Block a user