]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: nxp_fspi: Fix clock imbalance
authorMarek Vasut <marex@denx.de>
Mon, 13 Jun 2022 12:35:25 +0000 (14:35 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 15 Jun 2022 09:34:38 +0000 (11:34 +0200)
commit1a558fafbbdff80cb6a7c8e883addec7f02fe8e5
treebbe5303c7e153389b9f6e9ac68b6abc3be7a90cc
parent66e54716cfd1be2ca3a2a17749b45b7e3980f050
spi: nxp_fspi: Fix clock imbalance

The nxp_fspi_default_setup() is only ever called from nxp_fspi_probe(),
where the IP clock are initially disabled. Drop the second disabling of
clock to prevent clock enable/disable imbalance reported by clock core:

"
clk qspi_root_clk already disabled
"

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/spi/nxp_fspi.c