summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-07-22 06:09:43 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-23 03:31:36 +0400
commit16853d7bcb6dd5806534c63051580472b4aa4560 (patch)
treeab706db641808da3a87db9a3e1f708f78c20d09f /drivers/power
parent9672f0feb566423deb245032a1c9a7a14dacb6eb (diff)
downloadlinux-16853d7bcb6dd5806534c63051580472b4aa4560.tar.xz
usb: ci_hdrc_imx: Return -EINVAL for missing USB PHY
-ENODEV is interpreted by the generic driver probing function as a non-matching driver. This leads to a missing probe failure message. Also a missing USB PHY is more of an invalid configuration of the usb driver because it is necessary. This patch returns -EINVAL if devm_usb_get_phy_by_phandle() returned -ENODEV. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions