linux/drivers/hte
Runyu Xiao 30167fadbf 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: 9a75a7cd03 ("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>
2026-09-09 11:24:13 -07:00
..
hte-tegra194-test.c hte: tegra194-test: shut down timer before GPIO release 2026-09-09 11:24:13 -07:00
hte-tegra194.c hte: tegra194: Initialize slice locks before registering chip 2026-09-02 22:45:46 -07:00
hte.c hte: replace use of system_unbound_wq with system_dfl_wq 2026-02-23 10:11:17 -08:00
Kconfig hte: tegra194: remove Kconfig dependency on Tegra194 SoC 2026-02-23 10:27:01 -08:00
Makefile hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00