]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: skip calling coda_find_codec in encoder try_fmt_vid_out
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 5 Aug 2014 17:00:12 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:24 +0000 (15:25 -0500)
commitaa2d6c884edb870bfc432a752b8b4389fd55c9af
tree4bde9eff09a9cc4905f59985df0c6e5c2a1bf139
parent20f0fe074be09fcc3b980c8d23348b7f6d7758d1
[media] coda: skip calling coda_find_codec in encoder try_fmt_vid_out

We know that it will return NULL in this case, so we can just as well
skip it altogether.

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