msm: vidc: Amend calculation of buffer sizes in VENUS_BUFFER_SIZE

Add 8KB worth of padding for extradata. This is required to accommodate
some of the larger extradata types that didn't fit into the residual
space between the actual buffer size and its aligned size.

Change-Id: I0bc1602246f706094b7f92c9115b2496505debde
CRs-Fixed: 647378
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Expose extradata size to userspace

Previously, the extradata size was included within VENUS_BUFFER_SIZE
and callers (primarily in userspace) wouldn't know how much extra
padding was added to the buffer size. Exposing it allows userspace to
query directly instead of doing guesswork.

Change-Id: I11b736aaaad64dce15d614d58fbb46a29014a93d
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Revert "bluesleep: replace androidboot_mode_charger with poweroff_charging"

This reverts commit 054d41a91a02cff7d940ed8511cc5eed1316a842.
Revert "drivers: port bluesleep, msm_serial_hs from android-msm-sprat-3.10-kitkat-wear (experimental)"

This reverts commit 3dd3f8ce43f6aa3b27fc65f7c61964d220df8b4a.
bt: Fix sizeof-pointer-memaccess warning

This patch fixes wrong memcpy size when copying ltk value to HCI_OP_LE_LTK_REPLY command.

Change-Id: Ica2d5481c98920869cb756dd9965c1ae0d32d299