alistair23-linux/drivers/media
Trent Piepho 53dd8def52 V4L/DVB (4367): Videodev: Handle class_device related errors
Add proper error checking and roll-back for failure of
class_device_create_file() in videodev.c.  Print error messages and
unroll partially created sysfs entries.
Also, failure of class_device_register() in video_register_device() is
handled correctly.  It was failing to de-allocate the minor number.  This
must be done in video_register_device(), since the caller has no way of
knowing if failure occurred before or after the class device was
registered.
Also added an error message if video_register_device() is called with
an unknown type, which should never happen.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29 17:22:34 -03:00
..
common [PATCH] irq-flags: media: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
dvb V4L/DVB (4322): Fix dvb-pll autoprobing 2006-07-29 17:22:26 -03:00
radio Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
video V4L/DVB (4367): Videodev: Handle class_device related errors 2006-07-29 17:22:34 -03:00
Kconfig V4L/DVB (4214): Make VIDEO_CX2341X a selectable build option 2006-06-26 09:20:56 -03:00
Makefile