On Fri, May 30, 2014 at 03:27:27PM +0200, Krzysztof Czarnowski wrote: > Sure, a moment :-) One additional thing: I think sd->devnode should also be set as NULL since sub-devices are no longer created by the driver owning the media device. This isn't done in the error path or in v4l2_device_unregister_subdev() currently. -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html