Revert "msm: mdss: Enable overfetch unconditionally"

This reverts commit 0c2915e6a0c034e37dd6c983a9b80add5748b9a8.
It fixed the time green line but broke neflix video playback.

Change-Id: I39c5f992ed42256c7bfc0d6fba7f959bd26c2c4e
Signed-off-by: Dan Trifan <jimsth@gmail.com>
arm: hammerhead: Use LGE rfkill driver

Port rfkill driver from android-msm-dory-3.10-kitkat-wear.

Change-Id: I831666a8c45fa71d465db647561cc06f3ee8b0f9
Signed-off-by: Dan Trifan <jimsth@gmail.com>
bluesleep: Update to latest google version

Use bluesleep driver from android-msm-dory-3.10-kitkat-wear.

Change-Id: I8c5d10bc77bc0c47a1c5d35a7164c071d1a920e1
Signed-off-by: Dan Trifan <jimsth@gmail.com>
msm_serial_hs: Update to latest google version

Port msm_serial_hs from android-msm-dory-3.10-kitkat-wear.

Change-Id: I8c32e656ab8f8291bd49fe53c5da67c465d5d733
Signed-off-by: Dan Trifan <jimsth@gmail.com>
msm: pm: Increase cpu collapse timeout

2ms is still not enough, try 5ms.

<4>[  670.307705] ------------[ cut here ]------------
<4>[  670.308133] WARNING: at arch/arm/mach-msm/msm-pm.c:792 msm_pm_wait_cpu_shutdown+0x9c/0xb0()
<4>[  670.308351] CPU2 didn't collapse in 2 ms
<4>[  670.308839] [<c010dfb8>] (unwind_backtrace+0x0/0x144) from [<c0a26304>] (dump_stack+0x20/0x24)
<4>[  670.310590] [<c0a26304>] (dump_stack+0x20/0x24) from [<c019b610>] (warn_slowpath_common+0x58/0x70)
<4>[  670.311848] [<c019b610>] (warn_slowpath_common+0x58/0x70) from [<c019b6a4>] (warn_slowpath_fmt+0x40/0x48)
<4>[  670.313030] [<c019b6a4>] (warn_slowpath_fmt+0x40/0x48) from [<c0179500>] (msm_pm_wait_cpu_shutdown+0x9c/0xb0)
<4>[  670.313580] [<c0179500>] (msm_pm_wait_cpu_shutdown+0x9c/0xb0) from [<c01260bc>] (platform_cpu_kill+0x38/0x48)
<4>[  670.320147] [<c01260bc>] (platform_cpu_kill+0x38/0x48) from [<c010c5a8>] (__cpu_die+0x4c/0x98)
<4>[  670.320767] [<c010c5a8>] (__cpu_die+0x4c/0x98) from [<c09fb544>] (_cpu_down+0xf8/0x2e0)
<4>[  670.321029] [<c09fb544>] (_cpu_down+0xf8/0x2e0) from [<c09fb7d0>] (cpu_down+0x34/0x50)
<4>[  670.321452] [<c09fb7d0>] (cpu_down+0x34/0x50) from [<c01943c4>] (cpu_down_work+0x120/0x154)
<4>[  670.321924] [<c01943c4>] (cpu_down_work+0x120/0x154) from [<c01b59a4>] (process_one_work+0x178/0x4f4)
<4>[  670.322385] [<c01b59a4>] (process_one_work+0x178/0x4f4) from [<c01b60a0>] (worker_thread+0x174/0x448)
<4>[  670.322795] [<c01b60a0>] (worker_thread+0x174/0x448) from [<c01bc454>] (kthread+0xb4/0xc0)
<4>[  670.323049] [<c01bc454>] (kthread+0xb4/0xc0) from [<c0108060>] (kernel_thread_exit+0x0/0x8)
<4>[  670.323699] ---[ end trace 26c4346f4c26704b ]---

Signed-off-by: Dan Trifan <jimsth@gmail.com>
USB: ccid_bridge: Increase the bulk message timeout

The card is taking more than 500 msec to respond to some commands.
Increase the timeout to 1 sec.

Change-Id: I8ecfec6fa6e7465f6c51dcf0db899f576ae45298
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
USB: ccid_bridge: Drop the usb device reference upon disconnect

usb device ref count is incremented in probe via usb_get_dev. Call
usb_put_dev during disconnect to drop the ref count. Otherwise
struct usb_device memory is leaked.

Change-Id: Ia82f5ff7ef1a0a5e5c54f6e52b9e22f8434c45a6
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
USB: ccid_bridge: Enable the auto-suspend

The USB UICC cards are always attached to the host. Enable the
auto-suspend to save power.

Change-Id: I715171fa677b64da220114d515ceb775fdab54a0
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
USB: ccid_bridge: Add module param for bulk message timeout

The bulk message timeout is 1 second by default. Some cards take
more time to respond to CCID commands. Provide a module param
to configure the bulk message timeout.

For example, the below command configures the timeout as 5 seconds.

echo -n 5000 > /sys/module/ccid_bridge/parameters/bulk_msg_timeout

CRs-Fixed: 652421
Change-Id: I5f8fc2a9586d3728fe1c43311a28c4084a333164
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
mmc: core: Fix power class config for HS400

Use the correct power class field from the extended CSD register
for HS400 mode as defined in the eMMC5.0 specification.

CRs-fixed: 690341
Change-Id: Ie10e35941fd3c6ee49c686f721bf5af6fcd74862
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>