On Fri, Feb 26, 2016 at 8:21 AM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote: > If we bail out this early, v4l2_device_register() has not been called > yet, so no need to call v4l2_device_unregister(). > > Fixes: b7bd660a51f0 ("[media] coda: Call v4l2_device_unregister() from a single location") > Reported-by: Michael Olbrich <m.olbrich@xxxxxxxxxxxxxx> > Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxx> -- 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