/* Shut down the SPI controller @s SPI slave  */
static void spi_m2s_hw_release(struct m2s_spi_dsc *s)
/* Shut down the SPI controller @s SPI slave  */
static void spi_m2s_hw_release(struct m2s_spi_dsc *s)
{
	M2S_PDMA(s)->chan[s->drx].control = PDMA_CONTROL_RESET;
	M2S_PDMA(s)->chan[s->dtx].control = PDMA_CONTROL_RESET;
	M2S_SPI(s)->control &= ~SPI_CONTROL_ENABLE;
	M2S_SYSREG->soft_reset_cr |= s->rst_clr;
}