]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00283037 [gpu]Avoid gpu rmmod failure caused by regulator free failure
authorLoren HUANG <b02279@freescale.com>
Wed, 9 Oct 2013 08:33:39 +0000 (16:33 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:00:05 +0000 (18:00 +0200)
commit3ab49d9959aaf1f0e09008e26d2109b61cbb30bd
tree57437c37780e4e5057def242ef995da13236e16e
parent81a3752b5f610da0ab7fa616a66f1e343e6096f4
ENGR00283037 [gpu]Avoid gpu rmmod failure caused by regulator free failure

The failure is caused by duplicate regulator resource free.
New devm_xxx API will free the resource automatically after remove()
is called.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c