linux/drivers/media/platform/coda
Philipp Zabel 4d4b032bd7 coda: fix error path in case of missing pdata on non-DT platform
commit bc717d5e92 upstream.

If we bail out this early, v4l2_device_register() has not been called
yet, so no need to call v4l2_device_unregister().

Fixes: b7bd660a51 ("[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-20 15:42:09 +09:00
..
coda_regs.h [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-bit.c coda: fix first encoded frame payload 2016-04-12 09:08:50 -07:00
coda-common.c coda: fix error path in case of missing pdata on non-DT platform 2016-04-20 15:42:09 +09:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c [media] coda: include header for memcpy 2014-08-21 15:25:23 -05:00
coda-jpeg.c [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
coda.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
Makefile [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
trace.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00