kernel-fxtec-pro1x/drivers/phy
Sergei Shtylyov 743bb387a1 phy: fix kernel oops in phy_lookup()
The kernel oopses in phy_lookup() due to 'phy->init_data' being NULL if we
register PHYs from a device tree probing driver and then call phy_get() on a
device that has no representation in the device tree (e.g. a PCI device).
Checking the pointer before dereferening it and skipping an interation if
it's NULL prevents this kernel oops.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-24 12:53:38 -07:00
..
Kconfig phy: restore OMAP_CONTROL_PHY dependencies 2014-04-24 12:53:38 -07:00
Makefile phy: exynos: fix building as a module 2014-04-24 12:53:38 -07:00
phy-bcm-kona-usb2.c usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO 2014-03-02 00:26:26 +05:30
phy-core.c phy: fix kernel oops in phy_lookup() 2014-04-24 12:53:38 -07:00
phy-exynos-dp-video.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-exynos-mipi-video.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-exynos4x12-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos4210-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos5250-sata.c PHY: Exynos: Add Exynos5250 SATA PHY driver 2014-03-03 18:50:09 +05:30
phy-exynos5250-usb2.c phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-mvebu-sata.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-omap-control.c phy: omap-control: update dra7 and am437 usb2 bindings 2014-03-09 12:45:09 +05:30
phy-omap-usb2.c phy: rename struct omap_control_usb to struct omap_control_phy 2014-03-09 12:45:08 +05:30
phy-samsung-usb2.c phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-samsung-usb2.h phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-sun4i-usb.c PHY: sunxi: Add driver for sunxi usb phy 2014-03-03 18:50:09 +05:30
phy-ti-pipe3.c phy: ti-pipe3: Fix suspend/resume and module reload 2014-03-09 12:45:11 +05:30
phy-twl4030-usb.c usb: phy: twl4030-usb: Remove redundant semicolon 2014-03-02 00:26:26 +05:30
phy-xgene.c PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver 2014-03-09 12:45:13 +05:30