[media] coda: Fix error paths
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 21 Aug 2013 14:14:16 +0000 (11:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 07:05:49 +0000 (04:05 -0300)
commitf82bc203eeddb271c08637577544b30af43e047b
tree7718eca50d9ea82aaad8421d1cee3501316f3dfe
parentfea564a5f6a4ed6d3241aa90714ae2f0894a768a
[media] coda: Fix error paths

Some resources were not being released in the error path and some were released
in the incorrect order.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c