includes a fix in phy core w.r.t error checking, couple of fixes
 in kconfig one which fixes randconfig error and the other
 to fix dependency in QCOM PHY, driver fix in omap-usb2 in the
 error path and a driver fix in rcar-gen2 to fix bit location.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJVUiAZAAoJEA5ceFyATYLZvLwP/AoADhchCa6SBJ8V4s/huKOn
 75Wl4ZdlvGO/s5aIF6Q0rBCpNhhM6p4cPpGHY6vuj8TeKl+opitkE1fu1uIpGv0j
 j4XgrUAPvTXExJJsn5KvOIqSB62qtAzYugiWS82ok84vLzg3NZZazvVML2zFMioL
 Ih8Kj7mTN7N47IdRuARZK+losIT2BAl6L+DpcLIjmy6+d/+4YTy/IAV4DL8QHVXh
 4SR80lSJsidghtM3t5/47YN7eGzn6pgOEftb9hbpuuMa4yI8orDqQg7Xs2vG9NWe
 mzfIQtERxi/b4Aci5oG9CM7A1gLBuMe2M8ae8GnM3/goJo/HmwMoIeZZ0yf0E/Da
 D/zuSvC/Cd34OkmooW5ZNdcIDOGskJFNVPPvBgDuG+aGDNkyakqB9U21X22cRrBC
 JaUmmXYIFtM+Ce4GiexAopMQvQ06sD+Bd7/rb274O+oyxH9lFAPyiJEocEXzGtpk
 aND3/ZdHiy44iNycGj8fECNc0SNlybVQml7QUrLOXW0upf8yLr7J4q0l9mVVaZm6
 LzwztmAXYOx7d7W5W35LWCmwj55pVitDN3DMNlgpf0B4ryFX51ZVUf3iU6p3UPxu
 NH0CYkJvtz7Pcgo/vHHUNy+Plxpwuuq2b/pHg8Pwj7TmZL/9ltuHujkInxe+ypCR
 7GlYrUGvB4GniBfYUSUL
 =HohU
 -----END PGP SIGNATURE-----

Merge tag 'for-4.1-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-linus

Kishon writes:

phy: fixes for v4.1-rc

includes a fix in phy core w.r.t error checking, couple of fixes
in kconfig one which fixes randconfig error and the other
to fix dependency in QCOM PHY, driver fix in omap-usb2 in the
error path and a driver fix in rcar-gen2 to fix bit location.
This commit is contained in:
Greg Kroah-Hartman 2015-05-24 11:07:08 -07:00
Родитель a00918d052 a3ac3d4a29
Коммит 4bc5d3bbdc
4 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -38,7 +38,9 @@ config ARMADA375_USBCLUSTER_PHY
config PHY_DM816X_USB
tristate "TI dm816x USB PHY driver"
depends on ARCH_OMAP2PLUS
depends on USB_SUPPORT
select GENERIC_PHY
select USB_PHY
help
Enable this for dm816x USB to work.
@ -97,8 +99,9 @@ config OMAP_CONTROL_PHY
config OMAP_USB2
tristate "OMAP USB2 PHY Driver"
depends on ARCH_OMAP2PLUS
depends on USB_PHY
depends on USB_SUPPORT
select GENERIC_PHY
select USB_PHY
select OMAP_CONTROL_PHY
depends on OMAP_OCP2SCP
help
@ -122,8 +125,9 @@ config TI_PIPE3
config TWL4030_USB
tristate "TWL4030 USB Transceiver Driver"
depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
depends on USB_PHY
depends on USB_SUPPORT
select GENERIC_PHY
select USB_PHY
help
Enable this to support the USB OTG transceiver on TWL4030
family chips (including the TWL5030 and TPS659x0 devices).
@ -304,7 +308,7 @@ config PHY_STIH41X_USB
config PHY_QCOM_UFS
tristate "Qualcomm UFS PHY driver"
depends on OF && ARCH_MSM
depends on OF && ARCH_QCOM
select GENERIC_PHY
help
Support for UFS PHY on QCOM chipsets.

Просмотреть файл

@ -530,7 +530,7 @@ struct phy *phy_optional_get(struct device *dev, const char *string)
{
struct phy *phy = phy_get(dev, string);
if (PTR_ERR(phy) == -ENODEV)
if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV))
phy = NULL;
return phy;
@ -584,7 +584,7 @@ struct phy *devm_phy_optional_get(struct device *dev, const char *string)
{
struct phy *phy = devm_phy_get(dev, string);
if (PTR_ERR(phy) == -ENODEV)
if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV))
phy = NULL;
return phy;

Просмотреть файл

@ -275,6 +275,7 @@ static int omap_usb2_probe(struct platform_device *pdev)
phy->wkupclk = devm_clk_get(phy->dev, "usb_phy_cm_clk32k");
if (IS_ERR(phy->wkupclk)) {
dev_err(&pdev->dev, "unable to get usb_phy_cm_clk32k\n");
pm_runtime_disable(phy->dev);
return PTR_ERR(phy->wkupclk);
} else {
dev_warn(&pdev->dev,

Просмотреть файл

@ -23,7 +23,7 @@
#define USBHS_LPSTS 0x02
#define USBHS_UGCTRL 0x80
#define USBHS_UGCTRL2 0x84
#define USBHS_UGSTS 0x88 /* The manuals have 0x90 */
#define USBHS_UGSTS 0x88 /* From technical update */
/* Low Power Status register (LPSTS) */
#define USBHS_LPSTS_SUSPM 0x4000
@ -41,7 +41,7 @@
#define USBHS_UGCTRL2_USB0SEL_HS_USB 0x00000030
/* USB General status register (UGSTS) */
#define USBHS_UGSTS_LOCK 0x00000300 /* The manuals have 0x3 */
#define USBHS_UGSTS_LOCK 0x00000100 /* From technical update */
#define PHYS_PER_CHANNEL 2