diff options
| author | Vishwaroop A <va@nvidia.com> | 2025-10-28 15:57:02 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-04 16:48:54 +0000 |
| commit | 6022eacdda8b0b06a2e1d4122e5268099b62ff5d (patch) | |
| tree | ae37eb8ea3605b6013a48400847c866cfed8453d /scripts/gdb/linux/xarray.py | |
| parent | b4e002d8a7cee3b1d70efad0e222567f92a73000 (diff) | |
spi: tegra210-quad: Refactor error handling into helper functions
Extract common cleanup code into dedicated helper functions to simplify
the code and improve readability. This refactoring includes:
- tegra_qspi_reset(): Device reset and interrupt cleanup
- tegra_qspi_dma_stop(): DMA termination and disable
- tegra_qspi_pio_stop(): PIO mode disable
No functional changes. This is purely a code reorganization to prepare
for improved timeout handling in subsequent patches.
Signed-off-by: Vishwaroop A <va@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20251028155703.4151791-3-va@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions
