]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-qspi: Remove condition for calling enable linear mode
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Tue, 29 Nov 2022 11:41:34 +0000 (04:41 -0700)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:55 +0000 (08:55 +0100)
commit0d1a55fcbc009535c480a954198b1e3630864bfc
treed17da2cdbc385fcd5f019400945e47b24897bff9
parent6a664a7bd40261c38874beac264a1fb5b4ae1a5d
spi: cadence-qspi: Remove condition for calling enable linear mode

cadence_qspi_apb_enable_linear_mode() has a weak function defined, so no
need to gaurd this under if (CONFIG_IS_ENABLED(ARCH_VERSAL)).

In cadence_qspi_apb_write_execute(), enable linear mode is called twice by
mistake, remove extra one.

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