Commit 12dd8a3a authored by Yuri Tikhonov's avatar Yuri Tikhonov

RT80404. SPI: fix a typo for SPI1

Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent c7382b8e
......@@ -423,7 +423,7 @@ struct spi_slave *spi_setup_slave(unsigned int b, unsigned int cs,
s->rst_clr = M2S_SYS_SOFT_RST_CR_SPI0;
} else {
s->regs = (void *)MSS_SPI1_REGS;
s->hb = CLOCK_PCLK1;
s->hb = clock_get(CLOCK_PCLK1);
s->drx = 2;
s->dtx = 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment