usb: musb: Read value of PERI_RXCSR to 16bit variable
authorPali Rohár <pali@kernel.org>
Sun, 7 Feb 2021 13:50:06 +0000 (14:50 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 3 Mar 2021 03:12:46 +0000 (04:12 +0100)
commit7d7ae28c8b568ff1db38f7520b8ae892b4d93eee
tree1f21c9ea67565d15c34cbc31ede5e048edfa01a2
parent10bc132510fc1433c6bfc6c626c388bde0981d42
usb: musb: Read value of PERI_RXCSR to 16bit variable

PERI_RXCSR is 16bit register so store its value into 16bit local variable.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
drivers/usb/musb/musb_udc.c