[ARM] msm: hw3d: block new client while suspended instead of failing
authorDima Zavin <dima@android.com>
Thu, 8 Apr 2010 04:46:31 +0000 (21:46 -0700)
committerDima Zavin <dima@android.com>
Thu, 8 Apr 2010 05:58:17 +0000 (22:58 -0700)
commit3d4c3502edb8e1bed02f8f529e8b6189a5823946
treebb9c938e6f91f12cbb2bb3c3087eefa9311c579e
parent16e6d32026cbac4c9db8aed2aff4a92cd72559cf
[ARM] msm: hw3d: block new client while suspended instead of failing

Also fixes a potential issue where if there were multiple clients
trying to open the device, a random process would get it. Now, the
last requester always gets it.

Change-Id: I5ec36edd368f7a2979c64740b63dd807cc2fa857
Signed-off-by: Dima Zavin <dima@android.com>
arch/arm/mach-msm/hw3d.c