summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-sun9i-usb.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 08:07:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 08:07:58 +0200
commit9b0dd49e3565ddc71346ba7d57079ee6233d0780 (patch)
tree1da29301348a4586351ead3443513816fcc19819 /drivers/phy/phy-sun9i-usb.c
parentusb: gadget: use IS_ENABLED() instead of checking for built-in or module (diff)
parentLinux 4.8-rc5 (diff)
downloadlinux-9b0dd49e3565ddc71346ba7d57079ee6233d0780.tar.xz
linux-9b0dd49e3565ddc71346ba7d57079ee6233d0780.zip
Merge 4.8-rc5 into usb-testing
We want the USB fixes in here for testing and merge issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/phy-sun9i-usb.c')
-rw-r--r--drivers/phy/phy-sun9i-usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/phy-sun9i-usb.c b/drivers/phy/phy-sun9i-usb.c
index ac4f31abefe3..28fce4bce638 100644
--- a/drivers/phy/phy-sun9i-usb.c
+++ b/drivers/phy/phy-sun9i-usb.c
@@ -141,9 +141,9 @@ static int sun9i_usb_phy_probe(struct platform_device *pdev)
}
phy->hsic_clk = devm_clk_get(dev, "hsic_12M");
- if (IS_ERR(phy->clk)) {
+ if (IS_ERR(phy->hsic_clk)) {
dev_err(dev, "failed to get hsic_12M clock\n");
- return PTR_ERR(phy->clk);
+ return PTR_ERR(phy->hsic_clk);
}
phy->reset = devm_reset_control_get(dev, "hsic");