USB force fast charging

-Use base from Chad Froebel <chadfroebel@gmail.com> so we continue to
use the same generic sysfs mechanism

-Referenced franco's git for drivers/usb/otg/msm_otg.c changes
https://github.com/franciscofranco/mako/commit/5a8a4c8e23c7e1df39c740b9ce1d5dda20b0ede3

Off by default

Turn on:
echo 1 > /sys/kernel/fast_charge/force_fast_charge

Turn off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Change-Id: I705a01ed07b615c4d2533a8226ae1698ad495163
Defconfig: Enable force fast charging

Change-Id: Ide45f6c05810973e5882d6d3bb3cafd3ece7bf09
Sweep2wake and Doubletap2wake for the Nexus 7 (flo)

Change-Id: If8612249b9a26be2b964092808d4947afdd104e4
Signed-off-by: flar2 <asegaert@gmail.com>
Turn dt2w on and s2w off by default

Change-Id: Ic8239673bdaffbf52d0753ad907f83dc25a219b3
Make 1.7 GHz the default max frequency

Change-Id: I5ae52ca7b9e6616e8b49fc1e255b3740e47d784f
Sound Control: Added headphone poweramp controls

Change-Id: I9e06faef4d1f0a0a5e88aa0c91cd380d48dd3d7b
sound control 3.x: Initial GPL release for WCD9310 Audio Codec

Change-Id: I1b04ac0b5ba02b4d247b17197d199102f0f40480
sound/soc/codecs/wcd9310.c: expose additional controls

Change-Id: I9569137877e47740aba08a3319cfe605e84daa04
Sound Control: (Optional) work around for WCD93xx audio issues

Change-Id: I3b218da74583ce733b619fa40d7871f3ffcad85a
Sound Control: (OPTIONAL) add power amp registers access control as well

Change-Id: I1cb557784360a59e5f33fbb4c2535d45b8cb085c
sound control: add register cache

Change-Id: Ia9627dfc4abcc565d410284102baaeeb09e7706f
Defconfig: Enable Sound Control

Change-Id: I5014d73b32682f516c4e4cbdb0d5494070556d07
Add kexec hardboot support for Nexus 7 2013 WIFI/LTE(flo/deb)

This will allow for multirom use. Credit for the patch goes to tasssadar from XDA i only merge to slim.

Change-Id: I7642ce8ee2fc19c6e45e50f93e14b507f24da638
kernel_flo: Command line options

Conflicts:
	drivers/input/lid.c

Change-Id: I5ec17527292e4b831133d6eaf7ca191764f296d1
Signed-off-by: flar2 <asegaert@gmail.com>
af_unix: speedup /proc/net/unix
/proc/net/unix has quadratic behavior, and can hold unix_table_lock for
a while if high number of unix sockets are alive. (90 ms for 200k
sockets...)

We already have a hash table, so its quite easy to use it.

Problem is unbound sockets are still hashed in a single hash slot
(unix_socket_table[UNIX_HASH_TABLE])

This patch also spreads unbound sockets to 256 hash slots, to speedup
both /proc/net/unix and unix_diag.

Time to read /proc/net/unix with 200k unix sockets :
(time dd if=/proc/net/unix of=/dev/null bs=4k)

before : 520 secs
after : 2 secs

Change-Id: I9c2409298141c461418a21babe860741a9210959
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
net: loopback: set default mtu to 64K

loopback current mtu of 16436 bytes allows no more than 3 MSS TCP
segments per frame, or 48 Kbytes. Changing mtu to 64K allows TCP
stack to build large frames and significantly reduces stack overhead.

Performance boost on bulk TCP transferts can be up to 30 %, partly
because we now have one ACK message for two 64KB segments, and a lower
probability of hitting /proc/sys/net/ipv4/tcp_reordering default limit.

Change-Id: Id84a5aad0448c62b64c5008b52ba1e1d55e4ca90
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Add ability to control voltage [1/3]

PS 2: Add space under config CPU_VOLTAGE_TABLE
PS 3: Remove whitespace from acpuclock-krait.c (Line 966)

Change-Id: Idf7e51f5b6216ac684408f81e12903db95a2cc41
Add ability to control voltage [2/3]

Change-Id: I6ac7fa26e1264f7985a00c7f1ef8ba86beb74abd
Defconfig: Enable voltage control

Change-Id: Iab3cda90cdf3a8ff9674c8ef0ed05655b8c72c75
New sweep2wake/doubletap2wake options

/sys/android_touch/orientation controls whether sweep2sleep works in portrait, landscape, or both
0 = both
1 = portrait only
2 = landscape only

/sys/android_touch/pwrkey_suspend  makes the power button toggle s2w/dt2w
If set to 1, pressing power button to turn off screen disables s2w/dt2w and pressing the power button to turn on screen re-enables s2w/dt2w

Conflicts:
	drivers/input/keyboard/gpio_keys.c
	drivers/input/touchscreen/ektf3k.c
	include/linux/sweep2wake.h

Change-Id: I87f7b43fe0e951385f8a13de2a263e963a69bc5b
Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/input/touchscreen/ektf3k.c