]> git.baikalelectronics.ru Git - uboot.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)
commitdc6a500b9e16d39234cd0c30c00363d63e225dd5
treed17da2cdbc385fcd5f019400945e47b24897bff9
parent1fc12d4b3913ca4817a4df9b45f3aa0a3a43e2d3
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