Files
twx-linux/drivers
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
..
…
…
…
2016-04-12 09:08:53 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-04-20 15:42:07 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-03-09 15:34:50 -08:00
…
…
…
2016-04-20 15:41:56 +09:00
…
…