diff options
author | Frank Li <[email protected]> | 2024-02-20 11:19:13 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2024-03-04 09:54:17 +0100 |
commit | 0c9651c21f2a09672a983e4c43a74824eca3b174 (patch) | |
tree | e264a1b716f05d6635c86ab514118ff340183155 /tools/perf/util/trace-event-scripting.c | |
parent | 4e37c2f48712d5874619685819e1cf7307f60840 (diff) |
PCI: imx6: Simplify reset handling by using *_FLAG_HAS_*_RESET
Refactor the reset handling logic in the imx6 PCI driver by adding
IMX6_PCIE_FLAG_HAS_*_RESET bitmask define for drvdata::flags.
The drvdata::flags and bitmask ensure a cleaner and more scalable
switch-case structure for handling reset.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions