aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorAnand Moon <[email protected]>2024-12-02 15:11:43 +0000
committerKrzysztof Wilczyński <[email protected]>2025-01-15 18:23:28 +0000
commit18715931a5c08d199d14df116832d88dc4df48c5 (patch)
tree3281420181f6370cf42d10cd932acf01c7f36f4b /net/unix/unix_bpf.c
parentPCI: rockchip: Simplify clock handling by using clk_bulk*() functions (diff)
downloadkernel-18715931a5c08d199d14df116832d88dc4df48c5.tar.gz
kernel-18715931a5c08d199d14df116832d88dc4df48c5.zip
PCI: rockchip: Simplify reset control handling by using reset_control_bulk*() function
Currently, the driver acquires and asserts/deasserts the resets individually thereby making the driver complex to read. This can be simplified by using the reset_control_bulk() APIs. Use devm_reset_control_bulk_get_exclusive() API to acquire all the resets and use reset_control_bulk_{assert/deassert}() APIs to assert/deassert them in bulk. Following the recommendations in 'Rockchip RK3399 TRM v1.3 Part2': 1. Split the reset controls into two groups as per section '17.5.8.1.1 PCIe as Root Complex'. 2. Deassert the 'Pipe, MGMT Sticky, MGMT, Core' resets in groups as per section '17.5.8.1.1 PCIe as Root Complex'. This is accomplished using the reset_control_bulk APIs. Link: https://lore.kernel.org/r/[email protected] Co-developed-by: Dan Carpenter <[email protected]> Signed-off-by: Anand Moon <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> [kwilczynski: squash error handling fix from https://lore.kernel.org/r/[email protected]] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions