tuna: PowerHAL: Change obsolete designated initializers syntax

Designated initializers syntax which is used to initialize
HAL_MODULE_INFO_SYM is obsolete since GCC 2.5:
http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html

This patch changes syntax to usual one.

Cherry-picked from http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=361e9eab2dd455588327612c31623396725fdb1a

Change-Id: I7ed930bd6cf0f44f1503947c9abbc93a9ef99821
Fixed overclocking Power HAL module

Change-Id: I7fc7c517e04eee3933ab7107e788b50e41270b67
tuna: PowerHAL: Check that PowerHAL is successfully initialized

It doesn't make any sense to do something if PowerHAL
couldn't setup initial parameters successfully.

Cherry-picked and adjusted for tuna from
http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=5b250f0dbc8fa43f8ff9e45151730b5b733c5ed0

Change-Id: I4e87f6b7be53e52f21f02cc500c8a1096f70df5f
tuna: PowerHAL: Define constants for CPUfreq paths

Same CPUfreq paths are used many times in the code.
This patch defines constants for them.

Cherry-picked and adjusted for tuna from
http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=f5ee7ba155978bd9e547c079b521a1a249bdefab

Change-Id: I07519ad70a2f243c6fe68b26dc8b409e6223772e
tuna: add cpu boost hint

Code copied from Steve Kondik's commit.

Change-Id: I7576534132940ef0820af91f2d314055fbd84411
tuna: power: make sure we don't apply the screen off freq on screen on

This fixes issues when pressing the power button repeatedly in a short
period of time. The "on" call might not run, and when we re-read the
value on screen off to store it, we will be actually reading the capped
screen off value. Make sure that's not the case.
Review power freq on screen off code

Review general code
removed non sense comparation  "on ?" since is extra

Change-Id: I285368dbb449e4234e9cea8846c087fc4f3200f3
tuna: remove screen timeout overlay

Change-Id: I91fafab5886d7022c24d5d966f521ea11d35ba14
Revert "Include specialized copy of libskia for playback of Saved Webpages."

This reverts commit 6eae0292a8aa7a2374f35ebb8a9de801c9421761.

Deprecated in kitkat.

Change-Id: I70fd8284465491f3eadcdc1b595b9de27d7f200d
Setup common tuna extract-files/remove Google self-extractors

Since tuna devices are no longer maintained by AOSP there is
no need to have multiple locations and duplicate files. This
Will put all common files in vendor/samsung/tuna and device
specific ones in vendor/samsung/$(DEVICE).

Change-Id: I51bba2e62a1b511958856863f0a0fceac957704e
recovery: Set RECOVERY_FSTAB_VERSION

Tuna devices use the new recovery.fstab format, set
RECOVERY_FSTAB_VERSION=2 to indicate this.

Change-Id: I3284b345480d7db6458270eca56ed8e5b8dbd2c4
Tuna : OTG support

Fix otg support for 4.3

Change-Id: Iab78b75b507b6c12fb2c60e7410d4957c4ad7867
Enable Bluetooth 4.0 (BLE) for tuna-based devices

 - Needed to:
     http://review.cyanogenmod.org/46543
     http://review.cyanogenmod.org/46989

Change-Id: If299d291a401ddeff17b6d0db5b2df1059ea3a18
overlay: Set config_deviceHardwareKeys properly

Now soft menu key works fine with since it got merged http://review.cyanogenmod.org/#/c/48155/

Change-Id: I3a027161b31596f6f97f2f7178d4710db150ead0
tuna: Disable PhaseBeam wallpaper scrolling

This causes lag on tuna devices, therefore we opt-out

This change is required:
http://review.cyanogenmod.org/#/c/52205/

Change-Id: Ie236ed032a332ee8fff25bd52608462c83f201ef
tuna: update sensors to new layout

65xx has been added for hammerhead, need to update to reflect 60xx
for tuna (manta needs this as well)
tuna: update media codecs for 4.4

Use vp8 and vp9 decoder, fix vp8 naming for encoder

Change-Id: I7f29eb37fba096f75854580131dcc2480f24c2bc
tuna: update sdcard service for kitkat

New version is much more legible!

Change-Id: I9967e98a94a6ec26ad97d50c8e139c7482482fdc
tuna: add 4.4 loudness enhancer

Change-Id: Ia1af318774c5603a04fbcfbeca6778ec8c210ddf
tuna: no sync framework support

Show this is true by toggling the flag

Change-Id: Ie7c77165fe48eaf7288b7979de1122ddd39741f1