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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:46 +0000 (21:38 -0800)
commite4326aff4368886f28f88a3776632d0bdd4fffef
treed6dffa03b2f0496f93eaef4da7aa2ca3910871bd
parent74e8c2f4cd74e0aec29704db573929eabbd93196
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