Revert "msm7x30: Use a higher memory allocation if CMA is used for ION MM heap"

This reverts commit d101cfe6fa3376414e5a53aa63bfbaea83491533.
Revert "msm7x30: Use CMA for PMEM ADSP"

This reverts commit 1dca03de22c55c371357c9e3c9c9a106adc7fc69.
Revert "msm7x30: Allow to optionally enable the use of CMA for ION MM and PMEM ADSP heaps"

This reverts commit 7392159300ef7769ac98ec044d574c1cc7bd2a21.
Revert "msm7x30: Simplify the code for hybrid memory allocations on board side"

This reverts commit f0bff49967f7a6434115ffd47331eea227d4d7ed.
Revert "ancora: Adjust PMEM sizes"

This reverts commit d5600570f4b88e2aefa8935034b3c11f89257fab.
Revert "msm7x30: Use CMA for MM ION heap"

This reverts commit 26acd33a6bbfed7468735806df61d33c3e4002d6.
Revert "mach-msm: Use ION_CP_MM_HEAP_ID instead of ION_CAMERA_HEAP_ID"

This reverts commit 29321d6fd8a721e9c46033d926434f48de8fbf76.
*first reason msm7x30 is using ION_CAMERA_HEAP is not using ION_MM_HEAP
*second reason this our original ION configuration(ION_CAMERA_HEAP) is more close to CAF so is more stable
*adapting/forcing/porting (whatever you say) msm7x30 devices to use ION_MM will absolutely reduce the stability on vidc operations ı think
msm7x30:enable overlay0 & ion writeback support
* references: CAF and SPH-M840 board file
* this commit is fixing the following commit https://github.com/sirmordred/samsung-kernel-msm7x30/commit/de93550437aff413c795ceaea981b9f3b7369bc8
net: wireless: bcmdhd: reduced the wakelock time of RX packet
* original change https://gitorious.org/linux-sunxi/linux-sunxi/commit/ac133d207587c31d5914ee66d3a05a9ca3ccf5cd
drivers: usb: Use Android device as USB keyboard/mouse

Adapt to 3.4.y 8974/hammerhead
Base project: https://github.com/pelya/android-keyboard-gadget
Required app:
https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable

All credits to @pelya for this sweet hack.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Conflicts:
	drivers/usb/gadget/android.c

Change-Id: I775ba52925bdc52d865d8915e238ee7e5fc1455e
msm7x30:enable has_outer_cache flag
* ım a bit confused for this flag because CAF says msm7x30 is not supporting this flag https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/arch/arm/mach-msm/board-msm7x30.c?h=jb_2.5.5&id=466cf5f12aba3677bc74698f99d9418e1e75309d
but Samsung used this flag in their msm7x30 devices kernel for example SPH-M840 https://github.com/sirmordred/android_kernel_samsung_raybst/blob/cm-11.0/arch/arm/mach-msm/board-ray.c#L9074