android_kernel_motorola_sm6375/drivers/soc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Randy Dunlap 68e0033dee soc/fsl/qe: fix usb.c build errors
[ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ]

Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set.
This happens when PPC_EP88XC is set, which selects CPM1 & CPM.
When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE
being set. When USB_FSL_QE is set, QE_USB deafults to y, which
causes build errors when QUICC_ENGINE is not set. Making
QE_USB depend on QUICC_ENGINE prevents QE_USB from defaulting to y.

Fixes these build errors:

drivers/soc/fsl/qe/usb.o: in function `qe_usb_clock_set':
usb.c:(.text+0x1e): undefined reference to `qe_immr'
powerpc-linux-ld: usb.c:(.text+0x2a): undefined reference to `qe_immr'
powerpc-linux-ld: usb.c:(.text+0xbc): undefined reference to `qe_setbrg'
powerpc-linux-ld: usb.c:(.text+0xca): undefined reference to `cmxgcr_lock'
powerpc-linux-ld: usb.c:(.text+0xce): undefined reference to `cmxgcr_lock'

Fixes: 5e41486c40 ("powerpc/QE: add support for QE USB clocks routing")
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Suggested-by: Michael Ellerman <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: Qiang Zhao <[email protected]>
Cc: linuxppc-dev <[email protected]>
Cc: [email protected]
Cc: Kumar Gala <[email protected]>
Acked-by: Nicolas Schier <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-07-27 08:37:14 +02:00
..
actions
amlogic meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init 2022-08-25 11:17:33 +02:00
aspeed
atmel
bcm soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-09-15 12:04:55 +02:00
dove
fsl soc/fsl/qe: fix usb.c build errors 2023-07-27 08:37:14 +02:00
gemini
imx
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-21 20:59:27 +02:00
lantiq
mediatek
qcom soc: qcom: Select REMAP_MMIO for LLCC driver 2023-01-18 11:41:45 +01:00
renesas
rockchip
samsung
sunxi soc: sunxi: sram: Fix debugfs info for A64 SRAM C 2022-10-05 10:37:44 +02:00
tegra
ti soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe 2023-01-18 11:40:50 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-18 11:41:46 +01:00
versatile
xilinx
zte
Kconfig
Makefile