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

From: Johan Hovold
Date: Fri May 12 2023 - 05:10:34 EST


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@xxxxxxxxxx>
> Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>

Reviewed-by: Johan Hovold <johan+linaro@xxxxxxxxxx>

Johan