Home
last modified time | relevance | path

Searched hist:"6658 a62e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/musb/
H A Dmusb_debugfs.c6658a62e Fri Sep 22 02:59:29 CDT 2023 Xingxing Luo <xingxing.luo@unisoc.com> usb: musb: Modify the "HWVers" register address

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>