diff options
author | Ye Li <ye.li@nxp.com> | 2020-05-21 03:26:34 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-05-22 00:31:05 -0700 |
commit | bb8aaeb2ba407542f6cadeb2274927dd4280c0cd (patch) | |
tree | 2d6cfe7fb88cacb5a91177d584989b697031b1ab /arch/arm/mach-imx/imx8m/soc.c | |
parent | c75fd17a12f3ffb3e7e746f223e1b45b9c1076a9 (diff) |
MLK-24079 imx8mp: Disable DWC3 gadget before UUU jumping to kernel
When UUU runs acmd command to boot into kernel, the fastboot never
get chance to exit, so the usb gadget is not disconnected. This causes
kernel USB gadget failed to work.
Re-use iMX8MQ implementation to disconnect DWC3 gadget before jumping
to kernel.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/imx8m/soc.c')
-rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index ea29c18149..e71b3755c4 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -763,6 +763,7 @@ static int check_mipi_dsi_nodes(void *blob) } } +#endif void board_quiesce_devices(void) { @@ -771,7 +772,6 @@ void board_quiesce_devices(void) disconnect_from_pc(); #endif } -#endif int disable_vpu_nodes(void *blob) { |