Commit 77cbca3
phy: qcom-qmp-combo: Extend phy_mutex to all phy_ops
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@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20230515032743.400170-4-quic_bjorande@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 02545aa commit 77cbca3
1 file changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2437 | 2437 | | |
2438 | 2438 | | |
2439 | 2439 | | |
| 2440 | + | |
| 2441 | + | |
2440 | 2442 | | |
2441 | 2443 | | |
2442 | 2444 | | |
2443 | 2445 | | |
2444 | 2446 | | |
2445 | 2447 | | |
| 2448 | + | |
| 2449 | + | |
2446 | 2450 | | |
2447 | 2451 | | |
2448 | 2452 | | |
2449 | 2453 | | |
2450 | 2454 | | |
2451 | 2455 | | |
2452 | 2456 | | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
2453 | 2460 | | |
2454 | 2461 | | |
2455 | | - | |
| 2462 | + | |
2456 | 2463 | | |
2457 | | - | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
2458 | 2467 | | |
2459 | 2468 | | |
2460 | 2469 | | |
| |||
2578 | 2587 | | |
2579 | 2588 | | |
2580 | 2589 | | |
| 2590 | + | |
| 2591 | + | |
2581 | 2592 | | |
2582 | 2593 | | |
2583 | 2594 | | |
| |||
2589 | 2600 | | |
2590 | 2601 | | |
2591 | 2602 | | |
| 2603 | + | |
| 2604 | + | |
2592 | 2605 | | |
2593 | 2606 | | |
2594 | 2607 | | |
2595 | 2608 | | |
2596 | 2609 | | |
2597 | 2610 | | |
2598 | 2611 | | |
| 2612 | + | |
| 2613 | + | |
2599 | 2614 | | |
2600 | 2615 | | |
2601 | 2616 | | |
| 2617 | + | |
| 2618 | + | |
2602 | 2619 | | |
2603 | 2620 | | |
2604 | 2621 | | |
| |||
0 commit comments