diff options
author | 2024-02-20 11:19:13 -0500 | |
---|---|---|
committer | 2024-03-04 09:54:17 +0100 | |
commit | 0c9651c21f2a09672a983e4c43a74824eca3b174 (patch) | |
tree | e264a1b716f05d6635c86ab514118ff340183155 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: imx6: Simplify PHY handling by using IMX6_PCIE_FLAG_HAS_PHYDRV (diff) | |
download | wireguard-linux-0c9651c21f2a09672a983e4c43a74824eca3b174.tar.xz wireguard-linux-0c9651c21f2a09672a983e4c43a74824eca3b174.zip |
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/20240220161924.3871774-4-Frank.Li@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions