Hello Mauro, On 12/15/2015 09:22 AM, Mauro Carvalho Chehab wrote: > Changeset 43ac4401dca9 ("[media] media-device: split media > initialization and registration") broke media device register > into two separate functions, but introduced a BUG_ON() and > made media_device_init() void. It also introduced several > warnings. > > Instead of adding BUG_ON(), let's revert to WARN_ON() and fix > the init code in a way that, if something goes wrong during > device init, driver probe will fail without causing the Kernel > to BUG. > > Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx> > --- I agree with your patch, in fact the first version of the media split patch did exactly this and later media_device_init() was converted to void and the BUG_ON() introduced to address some feedback I got during the patches review. Reviewed-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx> On an OMAP3 IGEPv2: Tested-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx> Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America -- 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