]> Git Repo - u-boot.git/commit
spi: cadence-qspi: Remove condition for calling enable linear mode
authorAshok Reddy Soma <[email protected]>
Tue, 29 Nov 2022 11:41:34 +0000 (04:41 -0700)
committerMichal Simek <[email protected]>
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
drivers/spi/cadence_qspi_apb.c
This page took 0.03211 seconds and 4 git commands to generate.