mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-10-14 09:08:54 +00:00
When terminating some applications such as OpenGL ES2.0 conf. test, kgsl_device_stop is not triggered. And run such kind of application for several times, system hang happens for inconsistency of device states. So make sure device is stopped in kgsl_device_close, which is only called by last running caller process. Signed-off-by: Jie Zhou <b30303@freescale.com>