]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: core: modify IO memory resource after deferred probe completes
authorIvan T. Ivanov <iivanov@mm-sol.com>
Mon, 29 Jul 2013 07:27:02 +0000 (10:27 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 12:22:37 +0000 (15:22 +0300)
commit9a6c8508ca9eb1351a6f5bc101b8d1678c9f87c9
treec30da8ed4476a11c9ca0001250c7965405871b5a
parentee9e4bb690f2fa56976b449bb7e17b107144147f
usb: dwc3: core: modify IO memory resource after deferred probe completes

When deferred probe happens driver will try to ioremap multiple times
and will fail. Memory resource.start variable is a global variable,
modifications in this field will be accumulated on every probe.
Fix this by moving the above operations after driver hold all
required PHY's.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c