CwMcuSensor: clean up

* OMG this driver is gross...clean up whitespace
* Tidy up the sensor handling, we only want tap to wake at this point
  as gestures are useless without userspace handling

Change-Id: I163fb3c209d5025effb417852ce8d7de8001a7f7
CwMcuSensor: increase vibe time

* gives a little more indication to the user that it the gesture
  was received

Change-Id: Ifbe5ed412ab9f62844de4e8ce9ae2c0c4ea976e9
net: guard tcp_set_keepalive() to tcp sockets

Its possible to use RAW sockets to get a crash in
tcp_set_keepalive() / sk_reset_timer()

Fix is to make sure socket is a SOCK_STREAM one.

Change-Id: Ieeb498a3e623cfcb54e1c865a3c0229e4acf1e87
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Merge "CwMcuSensor: clean up" into cm-11.0
Merge "CwMcuSensor: increase vibe time" into cm-11.0
CwMcuSensor: reset sensor gpio after gesture

Change-Id: I0f8d6d6c92115f58c21db000467cd33fcf70db8b
msm: HTC: Add 8226 specific bits

Kernel package memul-3.4.0-ga072f6c

Change-Id: I1d177f95f0878835429d1c04e673250146ececa4