Re: [PATCH] cx88-dvb avoid dangling core->gate_ctrl pointer

2011-12-18 Thread David Fries
On Sun, Dec 18, 2011 at 03:48:59AM -0600, Jonathan Nieder wrote: > Hi David, > > David Fries wrote: > > > DVB: registering new adapter (cx88[0]) > > DVB: registering adapter 0 frontend 0 (Oren OR51132 VSB/QAM Frontend)... > > cx88[0]: videobuf_dvb_register_frontend

[PATCH] cx88-dvb avoid dangling core->gate_ctrl pointer

2011-12-14 Thread David Fries
From: David Fries dvb_register calls videobuf_dvb_register_bus, but if that returns a failure the module will be unloaded without clearing the value of core->gate_ctrl which will cause an oops in macros called from video_open in cx88-video.c Signed-off-by: David Fries Cc: Mauro Carvalho Che