summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorIcenowy Zheng2016-10-28 18:27:01 +0200
committerKishon Vijay Abraham I2016-11-05 09:15:02 +0100
commit4320f9d4c1831fd4d244a9de8f81bc27ea67699c (patch)
tree0ee4d75e4ca929aa749e7a216702576a4cebccbe /Kconfig
parentphy-rockchip-pcie: remove deassert of phy_rst from exit callback (diff)
downloadkernel-qcow2-linux-4320f9d4c1831fd4d244a9de8f81bc27ea67699c.tar.gz
kernel-qcow2-linux-4320f9d4c1831fd4d244a9de8f81bc27ea67699c.tar.xz
kernel-qcow2-linux-4320f9d4c1831fd4d244a9de8f81bc27ea67699c.zip
phy: sun4i: check PMU presence when poking unknown bit of pmu
Allwinner SoC's PHY 0, when used as OTG controller, have no pmu part. The code that poke some unknown bit of PMU for H3/A64 didn't check the PHY, and will cause kernel oops when PHY 0 is used. This patch will check whether the pmu is not NULL before poking. Fixes: b3e0d141ca9f (phy: sun4i: add support for A64 usb phy) Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions