]> git.karo-electronics.de Git - linux-beck.git/commit
[media] coda: fix the error path in coda_probe()
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 4 Oct 2016 15:41:37 +0000 (12:41 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 20:34:45 +0000 (18:34 -0200)
commitc762ff1f7e3b09293c22ce62135ef550c1b3327c
tree212b5c7771608b7f86d2ffe9412f98c0445950a7
parent69fd825c17a9f0e2ad939ee701c64242d181cdb9
[media] coda: fix the error path in coda_probe()

In the case of coda_firmware_request() failure, we should release the
prevously acquired resources.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c