MIPS: OCTEON: octeon-usb: use bitfields for control register
authorLadislav Michl <ladis@linux-mips.org>
Mon, 19 Jun 2023 20:11:43 +0000 (22:11 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 23 Jun 2023 13:06:40 +0000 (15:06 +0200)
commitce942c0f69c2e492f3d2be27b1a42cdbf59f6b1c
tree6cd6b8a536f343127b925cff1d76f816dcad5c40
parentc7b6a1eb2f85a8d10f3bb93a57e7b91a3dc58693
MIPS: OCTEON: octeon-usb: use bitfields for control register

Code needs to compile for all platforms in order to move it to
drivers/usb/dwc3. Use Linux standard bitfield access macros
to manipulate control register.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/cavium-octeon/octeon-usb.c