Boeffla-Sound: Engine 1.4.9

- Completely neutralized mic_mode to avoid any interference to related registers
  when not used (fix for call issues with certain firmwares) by not doing any actions
  until mic_mode is enabled + using cached registers when restoring default mode back
- mic_mode is now exclusive and not "intelligent" anymore. If you want to make calls,
  switch mic_mode back to default first
- Safety-net introduced to avoid writing empty mic register cache values back to
  the registers in any case (thx to Yank555 for this idea)
- fix reported issue about boeffla sound starting up in enabled mode
  is causing a boot loop
staging: android: lowmemorykiller: Don't count reserved free memory

The amount of reserved memory varies between devices. Subtract it
here to reduce the amount of devices specific tuning needed for the
minfree values.

Change-Id: I466ae8b18f5972f6f6d8b5a7d8c4ae69660de53a
Signed-off-by: Arve Hjønnevåg <arve@android.com>
adapted from Linux 3.4 Android Kernel Common

Signed-off-by: faux123 <reioux@gmail.com>
staging: android: lowmemorykiller: Add config option to support oom_adj values

The conversion to use oom_score_adj instead of the deprecated oom_adj
values breaks existing user-space code. Add a config option to convert
oom_adj values written to oom_score_adj values if they appear to be
valid oom_adj values.

Change-Id: I68308125059b802ee2991feefb07e9703bc48549
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Adapted from Linux 3.4 from Android kernel common

Signed-off-by: faux123 <reioux@gmail.com>
Yank555.lu v1.4g configs