[media] coda: move per-instance buffer allocation and cleanup
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 23 Jul 2014 15:28:43 +0000 (12:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:22 +0000 (15:25 -0500)
commit58b7677db01585736d2175f385dcfcc313aed3de
treeadf8ac9f8c28385fdeacf6bff17db7b16bf89a1f
parent347bb7f019db8ff52a9285abc6d776c6a776e0e9
[media] coda: move per-instance buffer allocation and cleanup

This patch moves the context buffer allocation into the context start_streaming
callbacks. The context buffer and internal framebuffer cleanup is moved into
the context release callback.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda/coda-common.c