summaryrefslogtreecommitdiff
path: root/arch/mips/alchemy
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-26 08:21:35 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-20 15:42:09 +0900
commit4d4b032bd7bb43650a71dd804eb9bbb589d3d818 (patch)
tree54694b990914e70ff879e90a368ac1c1ed862375 /arch/mips/alchemy
parent797e21364c9323ccdb2e8e712d5ef66e7f277798 (diff)
coda: fix error path in case of missing pdata on non-DT platform
commit bc717d5e92c8c079280eb4acbe335c6f25041aa2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/alchemy')
0 files changed, 0 insertions, 0 deletions