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
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