mirror of https://gitee.com/openkylin/linux.git
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 |