]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: core: allocate scratch buffers
authorFelipe Balbi <balbi@ti.com>
Thu, 19 Dec 2013 19:04:28 +0000 (13:04 -0600)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:39:55 +0000 (14:39 -0600)
commitc64f82ee81da301d03c3111cc803b141ca78bb4c
tree46ad40476222c30b9225ba6c17ade6a8866fffc1
parent2491bbcf361e744cc4367c8c9c6e1f0681e10047
usb: dwc3: core: allocate scratch buffers

We must read HWPARAMS4 register to figure out
how many scratch buffers we should allocate.

Later patch will use "Set Scratchpad Buffer
Array" command to pass the pointer to the
IP so it can be used during hibernation.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h