Readd "msm: kgsl: Fix Z180 memory leak""

Decerement entry refcount, which incremented
in kgsl_sharedmem_find_region.

CRs-Fixed: 635747
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
This reverts commit 3d829f33a9b7ecce31ec5303958f7edbc740fbe7.

Change-Id: Ib29f1db8e71e81f4ddcd8d9d7f415e4da55c3479
Readd "msm: kgsl: Fix mem leak when page allocation fails""

Page allocation may fail during OOM condition. Update
sglen and size to correct value (allocated) so that
they get freed in kgsl_sharedmem_free().

Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
This reverts commit 388b7ed2427c3febaac990ffcde9843e643a1ce8.

Change-Id: Ic5ec252c080aa86993b6802d91e2b281be81b1c3
msm: camera: fix null pointer
Prevent a Kernel panic that can be triggered after shooting an
HDR picture.

Change-Id: I72bb125e1ab04c8c98589922da6513d28acc6cb3
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>