]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2/gadget: move phy bus legth initialization
authorKamil Debski <k.debski@samsung.com>
Tue, 9 Sep 2014 08:44:52 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2014 12:36:20 +0000 (14:36 +0200)
commitc06ff735168af12598e98c0af5095c0af75abdb3
tree5c136e5742a1b467f166bfda458f6b2e68a1bce3
parent9152833428f8f798d1a34ba8020f3f9f0110f3c6
usb: dwc2/gadget: move phy bus legth initialization

This patch moves the part of code that initializes the PHY bus width.
This results in simpler code and removes the need to check whether
the Generic PHY Framework is used.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c