[PATCH v2 3/8] phy: qcom-qmp-combo: Extend phy_mutex to all phy_ops

Johan Hovold johan at kernel.org
Fri May 12 02:10:54 PDT 2023


On Tue, May 09, 2023 at 08:19:25PM -0700, Bjorn Andersson wrote:
> The phy core ensures mutual exclusion across the ops for a given phy,
> but the upcoming introduction of USB Type-C orientation switching might
> race with the DisplayPort phy operations. So extend the mutual exclusion
> to cover the remaining ops as well, to avoid concurrent reconfiguration
> of the hardware.
> 
> Reported-by: Johan Hovold <johan at kernel.org>
> Signed-off-by: Bjorn Andersson <quic_bjorande at quicinc.com>

Reviewed-by: Johan Hovold <johan+linaro at kernel.org>

Johan



More information about the linux-phy mailing list