Revert "Sound Control: Sound control for WCD93xx codec"

This reverts commit 1ddd7a8b4df6adc7486fd6c4af530459f72e4d84.
Revert "gamma control: fix typo derp :("

This reverts commit a1d1a21a50ae5fa90679ddb1fa3cee01811cfdfe.
Revert "gamma control: add checksum to validate data integrity"

This reverts commit 584958f359395730efb55d38c35630d6c2630b77.
Revert "gamma control: fix wip code derps :p"

This reverts commit 5f111b62029a21cec47e7ebe9654e1bc8c4d2aff.
Revert "gamma control: WIP expose gamma parameters to sysfs interface"

This reverts commit ad153426333fab9cd127c133dc79275f329298d1.
gpu: ion: replace __GFP_ZERO with manual zero'ing

As a performance optimization, omit the __GFP_ZERO flag when
allocating individual pages and, instead, zero out all of the pages in
one fell swoop.

Change-Id: Ieb9a895d8792727a8a40b1e27cb1bbeae098f581
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Conflicts:
	drivers/gpu/ion/ion_iommu_heap.c
Add Gamma Control v1. Thanks to @paranoidandroid for researching what each gamma value changed so that I could build this interface. It enables the possibility of tweaking whites, mids, blacks, contrast, saturation, brightness and greys. This is a full GPL'ed code and easy to use for any user without any special mumbo jumbo.

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

Conflicts:
	drivers/video/msm/mipi_lgit.c
Gamma Control: add Kconfig option for this interface. After changing the values the array is refreshed and gets rid of the necessity of screen off/on to apply the changes. Whites and Grays were mixed too, so thats fixed.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Gamma Control: fix mix between whites and grays.

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

Conflicts:
	arch/arm/mach-msm/lge/mako/board-mako-display.c
Gamma Control V2: finish adding the #ifdef wrappers. Add sanity checks for contrast, saturation and brightness. Push version to 2.

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

Conflicts:
	drivers/video/msm/mipi_lgit.c
mako: display: prevent the kcal RGB values to be reset on screen off.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Gamma Control: improve the code when changing the gamma values. Also protect it with a mutex in hope to prevent bootloops when setting this values with an init.d. Remove limits on contrast, saturation and brightness.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Gamma Control: attempt to fix a kernel panic.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Gamma Control: separate whites, grays, mids and blacks by RED, GREEN and BLUE settings. Contrast, Brightness and Saturation are common to the RGB spectrum as it makes no sense to have separates for this options. TODO: add a function to reset all the gamma stats to default.

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

Conflicts:
	drivers/video/msm/mipi_lgit.c
Add Sound Control. Features headphone volume boost for starters.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Sound Control: add tuning to the headphones gain registers. Fix a few typos.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Sound Control: changed gain from unsigned int to int so that it recieves negative values.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Gamma Control: fix small bug.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
soundcontrol: writing to the registers all the time is a bit hacky and it breaks compatibility with Ezekeels eXperience Pro app. Rather change the values with the mixer directly which is not so hacky.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	drivers/misc/sound_control.c
	sound/soc/codecs/wcd9310.c
Sound Control: enable negative values.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>