[media] ngene: Clean-up driver initialisation (part 1)
authorOliver Endriss <o.endriss@gmx.de>
Mon, 10 Jan 2011 09:36:14 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:44 +0000 (20:31 -0300)
commit8a484719c790772bc51c87c56323611752361bef
treeb59fa402d0f51b8b3271098b1bcd795c0777f176
parent5fec18574fec3eaffcab596c1a4e943e2d413cc3
[media] ngene: Clean-up driver initialisation (part 1)

If tuner initialisation failed, the frontend node was not removed.
When the frontend was opened, a kernel oops occurred...

This is the first step to improve error handling during initialisation.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-cards.c
drivers/media/dvb/ngene/ngene-core.c