[media] coda: fix width validity check when starting to decode
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 23 Jan 2015 16:51:25 +0000 (13:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 12:24:57 +0000 (10:24 -0200)
commit31db5adb4ea78976c5e1c2c7aa386e494872e8c1
treeb3c059589769d9c4f091dded8c151dd431471333
parent8c9ef6b16c433fd4850ef8f9dd74af36232ed055
[media] coda: fix width validity check when starting to decode

Compare rounded up width to fit into bytesperline.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c