summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-26 12:21:35 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-03 18:11:51 +0100
commitbc717d5e92c8c079280eb4acbe335c6f25041aa2 (patch)
tree4b9d7033975525776723db4837875bf6e94fb90b /drivers/media/usb/em28xx
parent[media] Revert "[media] tvp5150: document input connectors DT bindings" (diff)
downloadlinux-bc717d5e92c8c079280eb4acbe335c6f25041aa2.tar.xz
linux-bc717d5e92c8c079280eb4acbe335c6f25041aa2.zip
[media] coda: fix error path in case of missing pdata on non-DT platform
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@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx')
0 files changed, 0 insertions, 0 deletions