usb: gadget: atmel_usba: Cache INT_ENB register value
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 6 Jan 2015 13:47:02 +0000 (14:47 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:29 +0000 (12:13 -0600)
commite3a912a124c380db61eff762faa0547ea4c90eb4
treee5f07058d777a5cfe1de9be66a5b24c4c3fc6cad
parent9870d895ad87efae130b2990db9ba265271f113b
usb: gadget: atmel_usba: Cache INT_ENB register value

Cache INT_ENB register value in order to avoid uncached iomem access, and
thus improve access time to INT_ENB value.

Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/gadget/udc/atmel_usba_udc.h