]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: net2280: Move all "ll" registers in one structure
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Aug 2019 03:56:10 +0000 (13:56 +1000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 30 Aug 2019 06:14:38 +0000 (09:14 +0300)
commitec8ca8a3489cc87ca43a865af7e7393690841810
tree4898a30945cd2dbe4aa7a48313a4e9d7e68a9c97
parent17b63704ec7cd4a37c513d964bc09c7e3fde8988
usb: gadget: net2280: Move all "ll" registers in one structure

The split into multiple structures of the "ll" register bank is
impractical. It makes it hard to add ll_lfps_timers_2 which is
at offset 0x794, which is outside of the existing "lfps" structure
and would require us to add yet another one.

Instead, move all the "ll" registers into a single usb338x_ll_regs
structure, and add ll_lfps_timers_2 while at it. It will be used
in a subsequent patch.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/net2280.c
drivers/usb/gadget/udc/net2280.h
include/linux/usb/usb338x.h