/* Put the ssi to soft-reset mode, and then can be configured.  */
static int32_t ssi_soft_reset(audio_ctrl_p ctrl)
/* Put the ssi to soft-reset mode, and then can be configured.  */
static int32_t ssi_soft_reset(audio_ctrl_p ctrl)
{
    uint32_t instance = ctrl->instance;
    uint32_t val;
    val = HW_SSI_SCR_RD(instance);
    val &= ~BM_SSI_SCR_SSIEN;
    HW_SSI_SCR_WR(instance, val);
    return 0;
}