ASoC: msm: Add DSP support for SRS on A2DP

- Enabling or disabling SRS effects on music playback on
  A2DP doesn't have any effect.
- Cause for this is, parameters for SRS effects were not send
  if the device is A2DP.
- Fix is to add a new kcontrol for A2DP and use the new kcontrol
  to send SRS parameters for A2DP case.

CRs-Fixed: 536895, 596010

Change-Id: Ia0c338cc0b6505ce518b76287b392e5e8011ae1b
Signed-off-by: Sharad Sangle <assangle@codeaurora.org>
NFC: Continue probe if i2c poke fails

I2c poke is failing when hw is present.

Change-Id: I806f2e620bde576001e77d7265a93b1226739cdf
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
uio: provide vm access to UIO_MEM_PHYS maps

This makes it possible to let gdb access mappings of the process that is
being debugged.

uio_mmap_logical was moved and uio_vm_ops renamed to group related code
and differentiate to new stuff.

CRs-Fixed: 570735
Change-Id: I8a5ff343727cc58fedfeb73f3466cc9a7f153e84
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 7294151d0592e0ff48c61fca9fd7c93d613134da
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
Fix a few incorrectly checked [io_]remap_pfn_range() calls

Nico Golde reports a few straggling uses of [io_]remap_pfn_range() that
really should use the vm_iomap_memory() helper.  This trivially converts
two of them to the helper, and comments about why the third one really
needs to continue to use remap_pfn_range(), and adds the missing size
check.

CRs-Fixed: 570735
Change-Id: I927a67ea80fea5ed706749ead9defb1e72633952
Reported-by: Nico Golde <nico@ngolde.de>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org.
Git-commit: 7314e613d5ff9f0934f7a0f74ed7973b903315d1
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
[pratibha@codeaurora.org:resolve trivial merge conflicts]
Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
Merge "uio: provide vm access to UIO_MEM_PHYS maps"
Merge "Merge "msm: vidc: Send ABORT in FLUSH command from the Client""
Merge "Merge "Merge "msm: vidc: Send ABORT in FLUSH command from the Client"""
Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps""
Merge "Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps"""
Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps""
Merge "Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps"""
Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps""
Merge "Merge "Merge "uio: provide vm access to UIO_MEM_PHYS maps"""
tspp: Protect against buffer overflow.

Change filter->priority to unsigned int. Since it was defined as integer,
it may have had negative value and cause accessing an array outside
of its region

CRs-Fixed: 561802, 561825
Change-Id: Ie72aa09b07e79b0b67081b74e3b2057de30f03d0
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Signed-off-by: Abhishek Ranjan <aranja@codeaurora.org>
qseecom: Add checks for user space buffer pointers

Validate pointers send from user space and pointers
embedded within the mesasge sent from user space.

Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>

Conflicts:
	drivers/misc/qseecom.c

Change-Id: I1be54924ef3d301908af6e8d4e6506f2aa7f6428

Signed-off-by: Abhishek Ranjan <aranja@codeaurora.org>
Merge "Fix a few incorrectly checked [io_]remap_pfn_range() calls"
Merge "Merge "Fix a few incorrectly checked [io_]remap_pfn_range() calls""
Merge "Merge "Merge "Fix a few incorrectly checked [io_]remap_pfn_range() calls"""
msm: msm_bus: Change priority overrides based on master configuration.

When BIMC master enables BKE (in limiter mode), priority override
should be disabled since master is getting limited bandwidth.
However when BKE is disabled, make sure priority overrides are enabled
if master is in fixed mode.
Also enable the bke bit as part of switching QOS modes.

Change-Id: I318b3542f3f5da5685d5641701e0b6c8fc64732c

Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
msm: msm_bus: Changes for QOS computation at BIMC.

Modify the computation of dynamic QOS parameters for BIMC. The bandwidth
paramter was incorrectly assumed to be in beats/s, it is infact in bytes/s
so there is no need to take bus width into account.
Also change resolution for statically prgrammed grant period to nano second
from micro second since each tick of the QOS clock is in the nano second
range.

Change-Id: Iad9ebc7837b769f8cd9c4215cb102f6916c0845d
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>