diff options
author | Kamil Debski <[email protected]> | 2014-09-09 10:44:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-09-09 10:17:38 -0700 |
commit | ca2c5ba80f823a38c4aae506e2f03c1afb076b0a (patch) | |
tree | a763997a9ad777561783e347da84fe027ee6efbe /net/lapb/lapb_subr.c | |
parent | 0655314be0d9c54ad5f63500219485c6a9d9e5e2 (diff) |
usb: dwc2/gadget: fix phy initialization sequence
In the Generic PHY Framework a NULL phy is considered to be a valid phy
thus the "if (hsotg->phy)" check does not give us the information whether
the Generic PHY Framework is used.
In addition to the above this patch also removes phy_init from probe and
phy_exit from remove. This is not necessary when init/exit is done in the
s3c_hsotg_phy_enable/disable functions.
Signed-off-by: Kamil Debski <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Robert Baldyga <[email protected]>
Cc: stable <[email protected]> # 3.16
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions