diff options
| author | Anand Moon <linux.amoon@gmail.com> | 2024-10-12 12:49:08 +0530 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2024-12-04 18:57:08 +0530 |
| commit | c90a7a685a5d90228cedf7a5068f50b3da23ddfc (patch) | |
| tree | 3d5bd55da4ad4dc090d86d0c1bb1026327eb1124 /tools/perf/scripts/python/bin | |
| parent | phy: rockchip-pcie: Refactor mutex handling in rockchip_pcie_phy_power_on() (diff) | |
| download | linux-c90a7a685a5d90228cedf7a5068f50b3da23ddfc.tar.gz linux-c90a7a685a5d90228cedf7a5068f50b3da23ddfc.zip | |
phy: rockchip-pcie: Use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling
more robust by ensuring that mutexes are released in all code paths
when control leaves critical section.
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20241012071919.3726-7-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
