media: coda: reduce iram size to leave space for suspend to ram
authorJan Luebbe <jlu@pengutronix.de>
Fri, 28 Jul 2017 13:26:47 +0000 (09:26 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 11:02:28 +0000 (07:02 -0400)
commite047c5e0dad14c7b6d1470dc2e237a7a55252233
treeb0012b2dc8a3ff3e12e8516f3fcc89ecc8981a6f
parent45340c14e55aef16b5b535e9b7c1ebfea050a314
media: coda: reduce iram size to leave space for suspend to ram

The on-chip SRAM of i.MX6S is only 128 KiB. 4 KiB of that are allocated
for suspend to RAM since commit df595746fa69 ("ARM: imx: add suspend in
ocram support for i.mx6q"). Reduce the requested IRAM size to 124 KiB to
avoid an allocation failure that causes the coda driver to not use the
SRAM at all.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c