defconfig: kltevzw: Add Verizon variant configuration

Change-Id: I1d1dde4652f16387f3b59a6e6172290ab9f0a506
WLAN subsystem: Sysctl support for key TCP/IP parameters

It has been observed that default values for some of key tcp/ip
parameters are affecting the tput/performance of the system. Hence
extending configuration capabilities to TCP/Ip stack through
sysctl interface

CRs-Fixed: 507581

Signed-off-by: Kiran Kumar Lokere <klokere@codeaurora.org>

Change-Id: Ia92fc229c0a4a8c3f7e4e02cf7e3c8849719ddff
msm: Create shadow files under /sys/kernel/ipv4

The TCP delayed ack parameters can be configured from user space
application which runs with non-root credentials and does not have
direct write access to /proc entries. This commit creates shadow
files under /sys/kernel/ipv4 which maps to /proc/sys/net/ipv4.

CRs-Fixed: 628139
Signed-off-by: Ravi Joshi <ravij@codeaurora.org>

Change-Id: Ib7242aaae930dbc02133e44c04e182ebc52bc89f
include/sound: export audio_effects.h

* With a recent change to msm8974-common we ned to export this

Change-Id: I569e437e9f965cd2ede6b7a384481e25d222b085
input: cypress-touchkey - Add keydisabler

Change-Id: I418f68ae48ed81d789843df16040c777cf030f90
import kltedv_defconfig

* There is no config option for klte_dv so this is basically a clone of
klte_eur_defconfig with the reguired options enabled for the BCM2079X nfc
chip to function.

Change-Id: Ie4fe8a93973c97e5ceff6729f1d144811f31de4c
msm: vidc: Send resolution along with output buffer

Send the resolution along with output buffer to the client
to avoid a race condition where resolution might be changed
multiple times in driver before client requests for updated
resolution.

Change-Id: I8ebb99e3baa04da09f153195a674babcebcfea78
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs

This patch adds a "cdrom" sysfs entry for each mass_storage LUN, just
like "ro" sysfs entry. This allows switching between USB and CD-ROM
emulation without reinserting the module or recompiling the kernel.

Change-Id: Idf83c74815b1ad370428ab9d3e5503d5f7bcd3b6
msm: vidc: Add support for setting initial qp

Adds support to set initial qp, thereby allowing the client to set
initial qp for I,P, and B frames.

Change-Id: Ie956651bde85e800d97a0007769af9aec8ca16a4
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
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>
msm: vidc: Add AFD and CC metadata support to extradata

Add support and control for setting Active format
description and closed caption meta data in the
extradata. FW parses metadata and adds it to the
extradata. Client can use control to parse extradata
for the metadata information.

Change-Id: I9416ef2661ec66644246bf2e9d4207f024977097
Signed-off-by: Jayasena Sangaraboina <jsanga@codeaurora.org>
msm: vidc: Add support for different errors

When hardware is overloaded or when max number of clients are
reached in driver or firmware, hardware error is sent to video
client. This change is to replace hardware error with actual
errors.

Change-Id: If15fd272320f7a0e85f5abe9fb6863cc7292bda9
CRs-fixed: 575852
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm: vidc: Change in input buffer size calculation

Right now, input buffer size is calculated based on
maximum supported height and width returned from FW.
These values are not true representation as they are
calculated for rotation usecase. Driver needs to use
max MB supported from FW. This change fixes the same.

CRs-Fixed: 599818
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>

Conflicts:
	drivers/media/platform/msm/vidc/msm_vdec.c

Change-Id: Ibd73490c9b42bb88d68b835941ebe764a15aaaf9
msm: vidc: add new control for limiting i/p buffer size

Take the minimum of the size calculated by driver using
max width and height supported and the size set by client
for input buffers. Change interface to get input and
output buffer sizes.

Change-Id: Ida75a5718013cc852df74ea69a3b4e9a0c47d4a6
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
Makefile: fix compile error

Change-Id: Ifdc165c632d475e8da8c703d92fffe95f5fdd7c8