]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00291282-5 usb: phy-nop: defer clock prepare until PHY init
authorPeter Chen <peter.chen@freescale.com>
Thu, 26 Dec 2013 08:06:16 +0000 (16:06 +0800)
committerPeter Chen <peter.chen@freescale.com>
Tue, 7 Jan 2014 03:41:27 +0000 (11:41 +0800)
commit5f5350c45e5058cb85dc7719f960ee5f8da3ca12
tree41062e521a9050f4c4368479e8ed71e30794df48
parent8a6c350150739938a901222c157cacaeb922bbc2
ENGR00291282-5 usb: phy-nop: defer clock prepare until PHY init

It can avoid the problem that the prepare count is non-zero even
nop PHY is un-used. In fact, the same operation is already
at the lastest mainline code:

https://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit/drivers
/usb/phy/phy-generic.c?h=usb-next&id=4d175f340c9c055482688d2205038413dc7b6f1e

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/phy/phy-nop.c