]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: omap: add dwc3_omap_set_utmi_mode() function
authorGeorge Cherian <george.cherian@ti.com>
Wed, 16 Jul 2014 13:07:07 +0000 (18:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 14:57:01 +0000 (09:57 -0500)
commita17743cc4db6bdb40eeb29b602f917d72427d3af
tree6446865fb8567184e64e860fb1284c97149c06d8
parentd1a11bbb5dd6b1334c663dbf09d6d5b9deac8f21
usb: dwc3: omap: add dwc3_omap_set_utmi_mode() function

Move find and set the utmi mode to its own separate function.
Improve code readability, decrease the dwc3_probe() size.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c