mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 20:34:20 +08:00
5a1a2f63d8
The error path currently calls tw686x_video_free() which requires
vc->dev to be initialized, causing a NULL dereference on uninitizalized
channels.
Fix this by setting the vc->dev fields for all the channels first.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tw686x-audio.c | ||
tw686x-core.c | ||
tw686x-regs.h | ||
tw686x-video.c | ||
tw686x.h |