On Thu, Jun 27, 2024 at 06:58:03AM +0000, Sakari Ailus wrote: > Hi Hans, > > On Thu, Jun 27, 2024 at 08:43:47AM +0200, Hans Verkuil wrote: > > On 10/06/2024 12:05, Sakari Ailus wrote: > > > Clear the media device's minor number reservation at unregister time as > > > there's no need to keep it reserved for longer. This makes it possible to > > > reserve the same minor right after unregistration. > > > > Have you tested this? > > By unbinding and re-binding a device while file handles to the old Media > device one are still around. Also in MC we don't have an array indexed by minor numbers of Media devices, as we have for V4L2 device nodes. How is it for CEC? -- Sakari Ailus