From: Markus Pargmann Date: Tue, 22 Jul 2014 02:09:43 +0000 (+0800) Subject: usb: ci_hdrc_imx: Return -EINVAL for missing USB PHY X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16853d7bcb6dd5806534c63051580472b4aa4560;p=pandora-kernel.git 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 Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed