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 ]---
msm: mdss: Remove some cruft

Change-Id: I42b826f777c537bd87174a552dfd85ad8bb02069
msm: mdss: Don't call pan_idle for MSMFB_OVERLAY_PREPARE ioctl

We keep calling MSMFB_OVERLAY_PREPARE for each composition
cycle, even if there are no changes in params. Because of this
we can hit performance degradation due to pan idle wait.
This change removes pan_idle wait for prepare call.

CRs-Fixed: 600539
CRs-Fixed: 608848
Change-Id: Ie99f4dbc4671caf9bfbd49bd9b200c3180002d56
Signed-off-by: Radhika Ranjan Soni <rrsoni@codeaurora.org>
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>
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>
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>
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>
arm: hammerhead: Use LGE rfkill driver

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

Change-Id: I831666a8c45fa71d465db647561cc06f3ee8b0f9
bluesleep: Update to latest google version

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

Change-Id: I8c5d10bc77bc0c47a1c5d35a7164c071d1a920e1
msm_serial_hs: Update to latest google version

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

Change-Id: I8c32e656ab8f8291bd49fe53c5da67c465d5d733
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>