diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-04 14:11:37 +0800 |
|---|---|---|
| committer | Dipen Patel <dipenp@nvidia.com> | 2026-09-09 11:24:13 -0700 |
| commit | 30167fadbf87fa901a2fee49c30a5c5a506a43e8 (patch) | |
| tree | 5425d12ecf7f628bad333f9f948649ed56e1e25a /scripts/basic/split-include.c | |
| parent | 1329abe1bae416ab2cff89c3312d33f745d341c7 (diff) | |
| download | linux-next-30167fadbf87fa901a2fee49c30a5c5a506a43e8.tar.gz linux-next-30167fadbf87fa901a2fee49c30a5c5a506a43e8.zip | |
hte: tegra194-test: shut down timer before GPIO release
tegra_hte_test_remove() releases GPIO descriptors before stopping
hte.timer. gpio_timer_cb() accesses hte.gpio_out and rearms the timer, so
a callback concurrent with remove can use a released descriptor and rearm
after teardown.
Shut down the timer before releasing the GPIO descriptors.
timer_shutdown_sync() waits for a running callback and prevents it from
being rearmed.
Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver")
Cc: stable@vger.kernel.org
Assisted-by: Codex:GPT-5
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
