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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:09:42 +0000 (12:09 -0800)
commit0c5c9d4ae045682531ef12c02fcd108daf53cd45
tree634601f6a949c1019e6802fdefbdf310a5ff1583
parent3e36912e7e413de159065dd365a166be533bd23e
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