V4L/DVB (9266): videobuf: properly handle attachment failure
authorDarron Broad <darron@kewl.org>
Wed, 15 Oct 2008 16:48:43 +0000 (13:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:28:41 +0000 (17:28 -0300)
commite43f3fab0514647e563ee8b5baf4ce100dd5caa5
tree93d8088eb167d8d76ea06a7e66c5c44f0546c2fa
parent7bdf84fc47f2d2ed2194b6ade480d043207c4098
V4L/DVB (9266): videobuf: properly handle attachment failure

This fixes attachment failure where we now unwind
attachment and skip non-attached nodes where
necessary so we can survive a fault situation
correctly.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-dvb.c