19 Jun
2018
19 Jun
'18
1:01 p.m.
On Tue, 2018-06-19 at 17:22 +0800, Xiuli Pan wrote:
diff --git a/src/include/sof/ssp.h b/src/include/sof/ssp.h index fdcfcac..92db71f 100644 --- a/src/include/sof/ssp.h +++ b/src/include/sof/ssp.h @@ -231,6 +231,7 @@ struct ssp_pdata { uint32_t psp; spinlock_t lock; uint32_t state[2]; /* SSP_STATE_ for each direction */
uint32_t lbm;
This is probably better as a bitfield flag and probably made generic in sof_ipc_dai_config. That way we can reuse this whole infrastructure for other non SSP DAIs.
I would also probably rename to loopback_control;
Liam
completion_t drain_complete; struct sof_ipc_dai_config config; struct sof_ipc_dai_ssp_params params;