]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx: Call imx_pcie_remove() only for non-DM PCI driver
authorMarek Vasut <marex@denx.de>
Sun, 9 Jun 2019 01:50:51 +0000 (03:50 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commit42dc1230cdec48d0278dcc683bc14527cbea12c5
treeb5ed89c02fa446a50bd989963bd6ffcf13897296
parent934f9a653c6618b7acc448b487a568fd29ab2ba0
ARM: imx: Call imx_pcie_remove() only for non-DM PCI driver

The DM iMX PCI driver has DM_FLAG_OS_PREPARE set and will call
imx_pcie_remove() from the .remove callback. Do not call it from
the architecture code again.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/mach-imx/cpu.c