Boeffla Sound Engine: change detection to Wolfson logic

- used Wolfson detection due to CM incorrectly setting wm8994 flag for in-call, this should be universally usable

Change-Id: I44a8a9efed53720b566d2007382e23e42993de0f
Boeffla Sound Engine: v1.6.2b - fix issues in CM (Eq not sticking mostly)

- eq. settings are only applied when necessary (EQ active)
- speaker detection removed, headphone used instead (it's either one or the other, not both)
- each state change (headphone, in-call) will reset all the settings accordingly
- all settings due to a change detection are applied after 2 seconds of the last change in a window of 2 seconds
- if headphone is active, settings are reapplied on any register change after 2 seconds of the last change in a window of 2 seconds
- sysfs changes are always applied immediately (as it has always been, no change here)

Now hopefully this does the trick...

Change-Id: I5fd25172f6ee6b0870d248027dc4284bfa35e529
Boeffla-Sound: Engine 1.6.4

- show settings in sysfs even if boeffla sound is switched off
- remove legacy interfaces for alternative eq settings + mic mode
- some code cleanup

Boeffla-Sound: Engine 1.6.3

- delayed apply of changed register settings (credits to Yank) to fix issues on CM
- delay time configurable via sysfs (credits to Yank)
- different headphone detection for s3 and note devices
- different call detection

Boeffla Sound Engine: v1.6.2d - fix issues in CM (Eq not sticking mostly)

- (new) delay to apply the change detection is configurable (/sys/class/misc/boeffla_sound/change_delay, defaults to 2 seconds)
- fm radio detection slightly changed (removed a check that shouldn't be necessary anymore)
- eq. settings are only applied when necessary (EQ active)
- speaker detection removed, headphone used instead (it's either one or the other, not both)
- each state change (headphone, in-call) will reset all the settings accordingly
- all settings due to a change detection are applied after 2 seconds of the last change in a window of 2 seconds
- if headphone is active, settings are reapplied on any register change after 2 seconds of the last change in a window of 2 seconds
- sysfs changes are always applied immediately (as it has always been, no change here)

Now hopefully this does the trick...

Boeffla Sound Engine: v1.6.2c - fix issues in CM (Eq not sticking mostly)

- (new) fm radio detection slightly changed (removed a check that shouldn't be necessary anymore)
- eq. settings are only applied when necessary (EQ active)
- speaker detection removed, headphone used instead (it's either one or the other, not both)
- each state change (headphone, in-call) will reset all the settings accordingly
- all settings due to a change detection are applied after 2 seconds of the last change in a window of 2 seconds
- if headphone is active, settings are reapplied on any register change after 2 seconds of the last change in a window of 2 seconds
- sysfs changes are always applied immediately (as it has always been, no change here)

Now hopefully this does the trick...

Boeffla Sound Engine: v1.6.2b - fix issues in CM (Eq not sticking mostly)

- eq. settings are only applied when necessary (EQ active)
- speaker detection removed, headphone used instead (it's either one or the other, not both)
- each state change (headphone, in-call) will reset all the settings accordingly
- all settings due to a change detection are applied after 2 seconds of the last change in a window of 2 seconds
- if headphone is active, settings are reapplied on any register change after 2 seconds of the last change in a window of 2 seconds
- sysfs changes are always applied immediately (as it has always been, no change here)

Now hopefully this does the trick...

Change-Id: I105483eb1088711fa05507fee6e38ad727762e08
smdk4412: fix muted headset mic after button press

this corrects a bug where after pressing the button on a headset the mic becomes muted.
partial commit of "sound-soc: Sound platform and WM1811 changes" by SamsungOSRC

Change-Id: I6769cce909fe35f9da6339cf89686b62777c5ec7
smdk4412: Notification LED controls

Change-Id: Ic20c4946d4ea2336e1fa844d6600469e3517752d
Set SELinux to permissive

Change-Id: Ic73a9e1c6c10cb1405b6a2db0fc1901838bbab17
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Merge "Boeffla Sound Engine: change detection to Wolfson logic" into kk4.4
Merge "Boeffla Sound Engine: v1.6.2b - fix issues in CM (Eq not sticking mostly)" into kk4.4
Merge "Boeffla-Sound: Engine 1.6.4" into kk4.4
Merge "smdk4412: fix muted headset mic after button press" into kk4.4
Merge "smdk4412: Notification LED controls" into kk4.4
i9100: updating def_config for Mali r3p2

Change-Id: I90db7c0372e3a9b16f961367fa3315bd3173d46f
n7000: updating defconfig for 4.4

- update to MALI R3P2
- Set SELinux as permissive

Change-Id: Ibd724497de227b24db707a2594f640e4cdc89a93
smdk4412: prevent freeze on smart dock plug

Change-Id: I5749af201e16ac5da59754b1475255f254d1b05f
Merge "smdk4412: prevent freeze on smart dock plug" into kk4.4
smdk4412: update ssp_sysfs from jf 4.4 drop

This fixes the need to set an initial delay in the sensor hal
in order for the sensors to enable and report data

Change-Id: I1aa639e2cc30be60d00df253a90ea9dd1a6d501f
i777:update def_config for Mali r3p2

Change-Id: I31d704ab51abaa7f35bac3a12730448c6d83f41e
smdk4412: Update WiFi drivers from 1.61.47 --> 1.61.58

Change-Id: Ief531690aad2776090dd11198b8512424360726c
smdk4412: i9300 update 11

Change-Id: I1a3f2a384c6ead81018704a02330fe46df849777
modified defconfig for i9305 to fix boot

Change-Id: Iab061bc0a08044e51623bfbae738ca377265a810