aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAjit Kumar Pandey <[email protected]>2022-04-21 11:58:19 -0500
committerMark Brown <[email protected]>2022-04-21 18:25:17 +0100
commitbbdcd3d590cad744db46cb94649833db3575df49 (patch)
tree9d0179a758929e20e3a7e43fde31ae5c21f3b565 /lib/mpi/mpi-sub-ui.c
parentd09a7db431c65aaa8303eb456439d1831ca2e6b4 (diff)
ASoC: SOF: amd: Add psp_mbox_ready() and psp_send_cmd() callback
We need to ensure if PSP is mbox ready before and after sending cmd to PSP over SMN interface. Add method to check MBOX_READY bit of PSP with some delay over ACP_PSP_TIMEOUT_COUNTER. Replace psp_fw_validate with new method psp_send_cmd() to send command via psp mailbox. Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Ajit Kumar Pandey <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions