Commit 02545aa
phy: qcom-qmp-combo: Move phy_mutex out of com_init/exit
With the upcoming introduction of USB Type-C orientation switching the
region of mutual exclusion needs to be extended to cover both the common
init/exit as well as the individual functions.
So move the phy_mutex one step up the stack.
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Abel Vesa <abel.vesa@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on HDK8450
Tested-by: Johan Hovold <johan+linaro@kernel.org> # X13s
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20230515032743.400170-3-quic_bjorande@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 6c0237d commit 02545aa
1 file changed
+28
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2463 | 2463 | | |
2464 | 2464 | | |
2465 | 2465 | | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
| 2466 | + | |
2469 | 2467 | | |
2470 | | - | |
2471 | 2468 | | |
2472 | 2469 | | |
2473 | 2470 | | |
| |||
2514 | 2511 | | |
2515 | 2512 | | |
2516 | 2513 | | |
2517 | | - | |
2518 | | - | |
2519 | 2514 | | |
2520 | 2515 | | |
2521 | 2516 | | |
| |||
2524 | 2519 | | |
2525 | 2520 | | |
2526 | 2521 | | |
2527 | | - | |
2528 | 2522 | | |
2529 | 2523 | | |
2530 | 2524 | | |
| |||
2533 | 2527 | | |
2534 | 2528 | | |
2535 | 2529 | | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
| 2530 | + | |
2539 | 2531 | | |
2540 | | - | |
2541 | 2532 | | |
2542 | 2533 | | |
2543 | 2534 | | |
2544 | 2535 | | |
2545 | 2536 | | |
2546 | 2537 | | |
2547 | 2538 | | |
2548 | | - | |
2549 | | - | |
2550 | 2539 | | |
2551 | 2540 | | |
2552 | 2541 | | |
| |||
2556 | 2545 | | |
2557 | 2546 | | |
2558 | 2547 | | |
| 2548 | + | |
| 2549 | + | |
2559 | 2550 | | |
2560 | 2551 | | |
2561 | | - | |
| 2552 | + | |
2562 | 2553 | | |
2563 | 2554 | | |
2564 | 2555 | | |
2565 | | - | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
2566 | 2559 | | |
2567 | 2560 | | |
2568 | 2561 | | |
2569 | 2562 | | |
2570 | 2563 | | |
2571 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
2572 | 2567 | | |
2573 | 2568 | | |
| 2569 | + | |
| 2570 | + | |
2574 | 2571 | | |
2575 | 2572 | | |
2576 | 2573 | | |
| |||
2687 | 2684 | | |
2688 | 2685 | | |
2689 | 2686 | | |
| 2687 | + | |
2690 | 2688 | | |
2691 | 2689 | | |
2692 | | - | |
| 2690 | + | |
2693 | 2691 | | |
2694 | 2692 | | |
2695 | | - | |
| 2693 | + | |
2696 | 2694 | | |
| 2695 | + | |
| 2696 | + | |
2697 | 2697 | | |
| 2698 | + | |
| 2699 | + | |
2698 | 2700 | | |
2699 | 2701 | | |
2700 | 2702 | | |
| |||
2703 | 2705 | | |
2704 | 2706 | | |
2705 | 2707 | | |
| 2708 | + | |
2706 | 2709 | | |
2707 | 2710 | | |
2708 | | - | |
| 2711 | + | |
2709 | 2712 | | |
2710 | | - | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
2711 | 2720 | | |
2712 | 2721 | | |
2713 | 2722 | | |
| |||
0 commit comments