[PATCH] phy: qcom-qmp-combo: fix NULL-deref on runtime resume
Vinod Koul
vkoul at kernel.org
Fri Oct 28 05:56:00 PDT 2022
On 26-10-22, 18:21, Johan Hovold wrote:
> Commit fc64623637da ("phy: qcom-qmp-combo,usb: add support for separate
> PCS_USB region") started treating the PCS_USB registers as potentially
> separate from the PCS registers but used the wrong base when no PCS_USB
> offset has been provided.
>
> Fix the PCS_USB base used at runtime resume to prevent dereferencing a
> NULL pointer on platforms that do not provide a PCS_USB offset (e.g.
> SC7180).
Applied, thanks
--
~Vinod
More information about the linux-phy
mailing list