]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: xilinx_spi: Fix spi reset
authorJiajie Chen <c@jia.je>
Mon, 27 Feb 2023 15:09:39 +0000 (23:09 +0800)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Mar 2023 12:15:00 +0000 (13:15 +0100)
commit4fffbc1108f3f5e2932cdefea8b5f831b46040c7
tree7ec2133048933e1c2a7d6a32fbf0f3ae6dd797e9
parentdd0ebfe8a44421cdcc12ac4e5c3b3625cdf0ed1e
spi: xilinx_spi: Fix spi reset

It was incorrectly using an old priv->regs pointer, which was
initialized to zero. SPI resets won't happen on first call.

Signed-off-by: Jiajie Chen <c@jia.je>
Link: https://lore.kernel.org/r/20230227150938.211820-1-c@jia.je
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/xilinx_spi.c