OSDN Git Service

gpu: ion: Fix bug in ion client destroy
authorRebecca Schultz Zavin <rebecca@android.com>
Thu, 7 Jul 2011 01:07:01 +0000 (18:07 -0700)
committerRebecca Schultz Zavin <rebecca@android.com>
Thu, 7 Jul 2011 01:13:17 +0000 (18:13 -0700)
commit0b7e8ae7e4c780251482f702f5a2680707c5346e
tree6a52ec92f86f7f81eeac05a937251833a11e557a
parent245003348be73131becdaa4a34927b94a15f3041
gpu: ion: Fix bug in ion client destroy

ion_client_destroy kernel api should only delete the client
if it's refcount has gone to zero.

Change-Id: Iaa662bd82d67279a9807e01f9a24aebe3d21c17d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion.c