linux-stable/drivers/phy/qualcomm
Manu Gautam 0b4555e776 phy: qcom-qusb2: Fix crash if nvmem cell not specified
Driver currently crashes due to NULL pointer deference
while updating PHY tune register if nvmem cell is NULL.
Since, fused value for Tune1/2 register is optional,
we'd rather bail out.

Fixes: ca04d9d3e1 ("phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips")
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Cc: stable <stable@vger.kernel.org> # 4.14+
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-05-20 21:51:27 +05:30
..
Kconfig phy: Add a driver for the ATH79 USB phy 2018-04-25 10:53:00 +05:30
Makefile phy: Add a driver for the ATH79 USB phy 2018-04-25 10:53:00 +05:30
phy-ath79-usb.c phy: Add a driver for the ATH79 USB phy 2018-04-25 10:53:00 +05:30
phy-qcom-apq8064-sata.c
phy-qcom-ipq806x-sata.c
phy-qcom-qmp.c phy: qcom-qmp: Enable pipe_clk before PHY initialization 2018-05-20 21:51:27 +05:30
phy-qcom-qmp.h phy: qcom-qmp: Add support for runtime PM 2018-03-08 13:56:19 +05:30
phy-qcom-qusb2.c phy: qcom-qusb2: Fix crash if nvmem cell not specified 2018-05-20 21:51:27 +05:30
phy-qcom-ufs-i.h ufs/phy: qcom: Refactor to use phy_init call 2017-10-23 11:19:27 +05:30
phy-qcom-ufs-qmp-14nm.c ufs/phy: qcom: Refactor to use phy_init call 2017-10-23 11:19:27 +05:30
phy-qcom-ufs-qmp-14nm.h
phy-qcom-ufs-qmp-20nm.c ufs/phy: qcom: Refactor to use phy_init call 2017-10-23 11:19:27 +05:30
phy-qcom-ufs-qmp-20nm.h
phy-qcom-ufs.c phy: qcom-ufs: add MODULE_LICENSE tag 2018-03-12 15:11:59 +05:30
phy-qcom-usb-hs.c
phy-qcom-usb-hsic.c