mmc: fix the workqueue overload battery waste

After switching to the smdk4412 kernel I noticed a workqueue overload,
battery lasting less, and Android OS showing up at the top as result.

Tracing showed that mmc_host_clk_gate_work was one of the runqueues
called regularly in the background.

The #ifdef is clearly reversed and that leads to the ndelay being called
every time, while ndelay was never called before.

Not yet sure if this fixes the "apparent" regression but it's not bad so
far, after 1h of uptime android OS is below Android System.

Change-Id: Ief78ed7ddb3eec85636844b9a730cac832b096b4
max8997: move sysfs node for pwm level

Change-Id: I1ca8450000be99505c7c48c6c4fd2dfb15bba670
mshci: disable MMC_CAP_ERASE on u1

Change-Id: I944a80e4ffd9d7b86b18a13534a3fa8fd2104934
isa1200: move sysfs node for pwm level

Change-Id: I50b353531a1ee581217305b257d30317ce73b0c7
fix i925 compiling

Change-Id: I20678ad210403fc0cbb894fe16ba0edc357020b4
Increase lowest GPU step for 1400MHz devices

Devices using the 1400MHz Exynos 4210 are using 1280*800 screens. This
is a much bigger resolution than the Galaxy S2. 100MHz as the lowest GPU
step is too low for these devices, resulting in lag. Bump it up to
134MHz.

Change-Id: Ifd08cdc2e263695232d034890e54585f122453ff
mali: pick the right GPU voltage table for 1400MHz devices, restore thresholds

8-level table was always used, resulting in increased voltages for
1400MHz devices. Now, the right table (5-level) can be picked at
runtime.

Restore the thresholds to stock value for more stable frequencies.

Change-Id: I29900535c15557e75c72793b7169771982fce7f9
n7100: add cyanogenmod mdnie preset

Change-Id: I42e3ec88452239a6b953dff0e636a8c2e5dbf958
cypress: report led status via sysfs

Change-Id: Iddecb0688e758eca3ba77b520510a6728ad1e3bb
cypress-touchkey: remove backlight timeout feature

Userspace implementation:
http://review.cyanogenmod.org/48796
http://review.cyanogenmod.org/48872
http://review.cyanogenmod.org/48884

Change-Id: Id4ac50168220310e82aa4aae367dad4e72e3a9c3
smdk4412: max77693_haptic: move sysfs node

Change-Id: If25044f5eb36ea0374c691c8fee3965b785b8cbf
Fix kernel build error

Change-Id: I1191517240ae7bcfb2fcbbffc98e22f28e8fa151
d710: cypress: fix home button and auto-update defconfig

Change-Id: I1dd142d0b168101a8170e742d115bf70a47daa48
netfilter: xt_qtaguid: remove AID_* dependency for access control

qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
netfilter: xt_qtaguid: extend iface stat to report protocols

In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall <jpa@google.com>
netfilter: xt_qtaguid: Allow tracking loopback

In the past it would always ignore interfaces with loopback addresses.
Now we just treat them like any other.
This also helps with writing tests that check for the presence
of the qtaguid module.

Signed-off-by: JP Abgrall <jpa@google.com>
netfilter: qtaguid: rate limit some of the printks

Some of the printks are in the packet handling path.
We now ratelimit the very unlikely errors to avoid
kmsg spamming.

Signed-off-by: JP Abgrall <jpa@google.com>