On Tue, Mar 17, 2020 at 03:06:01PM +0200, Laurent Pinchart wrote: ... > > I have not followed CAP_IO_MC closely, but I > > wonder if that could help catching that situation in the core and > > return an error earlier. Maybe there could be a way for drivers to > > advertise support for that feature to the core and fail earlier if > > mbus_code is set and they don't claim to support it ? > > I was thinking of linking the two, making this extension mandatory for > drivers that advertise CAP_IO_MC, in which case we could indeed drop the > flag. > > Hans, what's your preference ? My mild preference would be towards binding this to CAP_IO_MC flag. -- Regards, Sakari Ailus