]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: aspeed: Fix dram hang at res-change
authorJammy Huang <jammy_huang@aspeedtech.com>
Mon, 24 Nov 2025 03:05:14 +0000 (11:05 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 12:10:07 +0000 (13:10 +0100)
commite83f8dd668eaf18f408169e1006f61dc5ebaa00e
tree0e224bc1223212e4bcb70c42da74975a8ae3d0b5
parent43e5302d22334f1183dec3e0d5d8007eefe2817c
media: aspeed: Fix dram hang at res-change

Dram hang could happen in the steps below:
1. start capture/compression
2. out-of-lock watchdog raise irq because of res-change.
3. aspeed_video_irq_res_change do clk-off

At step3, capture/compression could be not accomplished yet. If clk-off
in the middle of video operation, dram controller could hang at ast2500.

Use reset rather than clk-off/on to avoid this problem.

Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/aspeed/aspeed-video.c