MGS-2902 [#imx-557] fix wrong release_mem_region
authorXianzhong <xianzhong.li@nxp.com>
Mon, 15 May 2017 09:14:39 +0000 (17:14 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:19 +0000 (15:22 -0500)
commit3da51cfcd7f871f258e41dc66e25c891e4410ff0
tree0c06e7b97e3c4361f1881e954e2bfeecd817024e
parent48f902c472eaf88d507de24673002d7abba60cee
MGS-2902 [#imx-557] fix wrong release_mem_region

the dma allocated memory do not call additional request_mem_region,
but gckGALDEVICE_Destroy call into release_mem_region mistakenly.

this fix the following warning message with rmmod galcore:
Trying to free nonexistent resource <000000003cc00000-0000000044bfffff>

Date: May 15, 2017
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c