]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-qspi: Correct flash reset function name
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 24 Aug 2022 11:38:45 +0000 (05:38 -0600)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
commit68852f3241af7d2f3e7cf85fbcd2268fd8c22b1e
tree707cf26625dda4f4f55002269f1c66ecd2ca7f3e
parentf459986e86458a9980a3d0f4de1d4a44a549c00c
spi: cadence-qspi: Correct flash reset function name

In cadence_spi_probe, cadence_qspi_versal_flash_reset() is called to reset
the flash device. Looks like there is a mistake in previous series of
patches where it is defined as cadence_spi_versal_flash_reset() but
called as cadence_qspi_versal_flash_reset. Since there is a weak function
defined with the same name this issue was not caught.

Fix the issue by renaming cadence_spi_versal_flash_reset as
cadence_qspi_versal_flash_reset().

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/20220824113847.7482-2-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/cadence_ospi_versal.c