diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lpc/ao_spi_lpc.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lpc/ao_spi_lpc.c b/src/lpc/ao_spi_lpc.c index ff107e40..c3587698 100644 --- a/src/lpc/ao_spi_lpc.c +++ b/src/lpc/ao_spi_lpc.c @@ -199,7 +199,8 @@ ao_spi_init(void)  	/* Turn on the clock */  	lpc_scb.ssp1clkdiv = 1; -	/* De-assert reset */ +	/* Reset the device */ +	lpc_scb.presetctrl &= ~(1 << LPC_SCB_PRESETCTRL_SSP1_RST_N);  	lpc_scb.presetctrl |= (1 << LPC_SCB_PRESETCTRL_SSP1_RST_N);  	ao_spi_channel_init(1);  #endif /* HAS_SPI_1 */  | 
