On Fri, Jan 26, 2018 at 01:43:16PM +0100, Hans Verkuil wrote: > From: Hans Verkuil <hans.verkuil@xxxxxxxxx> > > If the framebuffer is enabled and error injection is disabled, then > creating the controls for the video output device would fail with an > error. > > This is because the Clear Framebuffer control uses the 'vivid control > class' and that control class isn't added if error injection is disabled. > > In addition, this control was added to e.g. vbi devices as well, which > makes no sense. > > Move this control to its own control handler and handle it correctly. > > Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus e-mail: sakari.ailus@xxxxxx