mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 06:00:01 +07: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 |