android_kernel_samsung_sm8650/drivers/usb/musb
Xingxing Luo 88a204cc0c usb: musb: Modify the "HWVers" register address
commit 6658a62e1ddf726483cb2d8bf45ea3f9bd533074 upstream.

musb HWVers rgister address is not 0x69, if we operate the
wrong address 0x69, it will cause a kernel crash, because
there is no register corresponding to this address in the
additional control register of musb. In fact, HWVers has
been defined in musb_register.h, and the name is
"MUSB_HWVERS", so We need to use this macro instead of 0x69.

Fixes: c2365ce5d5 ("usb: musb: replace hard coded registers with defines")
Cc: stable@vger.kernel.org
Signed-off-by: Xingxing Luo <xingxing.luo@unisoc.com>
Link: https://lore.kernel.org/r/20230922075929.31074-1-xingxing.luo@unisoc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:08:55 +02:00
..
am35x.c usb: musb: Set the DT node on the child device 2021-12-17 17:00:45 +01:00
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: da8xx: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
davinci.c
davinci.h
jz4740.c Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" 2023-07-19 16:21:56 +02:00
Kconfig musb: fix USB_MUSB_TUSB6010 dependency 2022-08-18 16:33:06 +02:00
Makefile usb: musb: Add support for PolarFire SoC's musb controller 2022-06-21 16:35:17 +02:00
mediatek.c usb: musb: mediatek: don't unregister something that wasn't registered 2023-03-10 09:33:35 +01:00
mpfs.c usb: musb: mpfs: add missing clk_disable_unprepare() in mpfs_remove() 2022-06-29 21:02:05 +02:00
musb_core.c usb: musb: core: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
musb_core.h
musb_cppi41.c usb: musb: cppi41: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
musb_debug.h
musb_debugfs.c usb: musb: Modify the "HWVers" register address 2023-10-19 23:08:55 +02:00
musb_dma.h
musb_dsps.c usb: musb: dsps: Use platform_get_irq_byname() to get the interrupt 2021-12-21 08:51:57 +01:00
musb_gadget_ep0.c
musb_gadget.c usb: musb: remove extra check in musb_gadget_vbus_draw 2022-12-31 13:31:47 +01:00
musb_gadget.h
musb_host.c usb: musb: Get the musb_qh poniter after musb_giveback 2023-10-19 23:08:55 +02:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h usb: musb: tracing: Use the new __vstring() helper 2022-07-19 11:20:24 -04:00
musb_virthub.c
musbhsdma.c
omap2430.c usb: musb: fix error return code in omap2430_probe() 2023-01-24 07:24:38 +01:00
omap2430.h
sunxi.c usb: musb: sunxi: Switch to use dev_err_probe() helper 2022-09-27 10:36:07 +02:00
tusb6010_omap.c
tusb6010.c usb/musb: fix repeated words in comments 2022-07-27 14:34:05 +02:00
tusb6010.h
ux500_dma.c
ux500.c usb: musb: Set the DT node on the child device 2021-12-17 17:00:45 +01:00