ENGR00133681 VPU:Fix kernel dump when VPU doesn't use IRAM
authorMatt Sealey <matt@genesi-usa.com>
Mon, 13 Dec 2010 18:14:16 +0000 (12:14 -0600)
committerMatt Sealey <matt@genesi-usa.com>
Mon, 13 Dec 2010 18:14:16 +0000 (12:14 -0600)
commit6942fd4666d8defb7d6dd30192c000904cbec9c0
tree1c331005b9f1467a28d03ac8151318d71111b840
parent4e26dd501f47917c521c7c0097b19e5370a84197
ENGR00133681 VPU:Fix kernel dump when VPU doesn't use IRAM

If VPU doesn't use IRAM, there will be a kernel dump when
we enter VPU driver probe function.
This issue is caused by allocating IRAM with zero buffer
size.

Signed-off-by: Liu Ying <b17645@freescale.com>
drivers/mxc/vpu/mxc_vpu.c