msm: kgsl: Pass correct datatype to kgsl_mmu_ptpool_destroy()

This fixes a crash due to NULL pointer access when allocation of DMA
Coherent memory fails.

Change-Id: I7ea7405713682aaa7cd660ef341a968342dc0880
Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
msm: kgsl: Follow reverse sequence of init procedure during exit

Fixes kernel warnings about sysfs entries being unavailable when they
are removed during exit.

Change-Id: I6caaaff935b31d3f39a3610cdd2b048baf2f1a97
Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
msm: kgsl: Modify kgsl_core_exit to release resources carefully.

kgsl_core_exit() should not call kgsl_sharedmem_uninit_sysfs() and
device_unregister() if those resources have not been allocated.
We check this by seeing if kgsl_driver.virtdev has been
populated or not.

CRs-fixed: 359477
Change-Id: Ic040667b29bd4e006e6f29a50809d94a2bb4b469
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
msm_rotator: updated to latest CA codes
msm: qdsp6v2: Invalid memory access of timpani regset array

Adie codec write is accessing out of memory bound for
timpani regset array.

CRs-Fixed: 330562
Change-Id: I98f46d3b59c76ccfaf5edd6c04d1df01d431ef01
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Revert "bcmdhd: Use new firmware paths"

This reverts commit 5c74cefdf942f1e010de5f9ed340a77c4c4306f9.
ION fixed and ready
Fix ION, Again
Revert "msm_rotator: updated to latest CA codes"

This reverts commit 7b3ae0837c6547d0e5aa70b8dd8e03b6f2e314ff.
Still ION
Check makefile if you get:
drivers/built-in.o:clkdev.c:function ion_heap_create: error: undefined reference to 'ion_cp_heap_create'
Forgot this in the last commit