Re: v4l2_device_register_subdev_nodes() clean_up code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux