diff options
author | Ajit Kumar Pandey <[email protected]> | 2022-04-21 11:58:19 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-21 18:25:17 +0100 |
commit | bbdcd3d590cad744db46cb94649833db3575df49 (patch) | |
tree | 9d0179a758929e20e3a7e43fde31ae5c21f3b565 /lib/mpi/mpi-sub-ui.c | |
parent | d09a7db431c65aaa8303eb456439d1831ca2e6b4 (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