kernel_samsung_a53x/drivers/usb/musb
Xingxing Luo 074e952eb3 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: c2365ce5d5a0 ("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>
2024-11-08 11:25:49 +01:00
..
am35x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cppi_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cppi_dma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
da8xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davinci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davinci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jz4740.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mediatek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_cppi41.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_debugfs.c usb: musb: Modify the "HWVers" register address 2024-11-08 11:25:49 +01:00
musb_dma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_dsps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_gadget.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_gadget.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_gadget_ep0.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_host.c usb: musb: Get the musb_qh poniter after musb_giveback 2024-11-08 11:25:49 +01:00
musb_host.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_io.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musb_virthub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
musbhsdma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap2430.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap2430.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sunxi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tusb6010.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tusb6010.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tusb6010_omap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ux500.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ux500_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00