spi_qsd: Correction in DMA mode check.

Due to bug in the if() condition msm_use_dm function
is always returning '0' when cs_change is true. Due to
this issue the DMA mode is not bieng used when it has to be.

This patch fixes this issue.

CRs-Fixed: 475841
Change-Id: Ib4d7c4f816c2df71683d0901eb0fab78f441a208
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
media: dvb: Add proper protection when calling SW filter packet

dvb_dmx_swfilter_packet function did not properly lock against
dvb-demux data-structure like the rest of dvb-demux SW filtering
functions.

Change-Id: Id287f660773f93aeac8b0fc01df6f995b72ac93b
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
dvb: mpq: Secure demux log level

Add secure demux API allowing to set log level verbosity.
Log level can be set from user-sapce via a debugfs entry.
Default is no logging.

Change-Id: I5cfa4533ade061dd2a0663252cea72779018f91d
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Bluetooth: GAP: Fast ACL disconnection only for Auth fail

This patch causes immediate ACL disconnection only when
auth failure happens.

CRs-fixed: 480067

Change-Id: I23ee743de37d0ab6155bf892cc17037a2036e337
Signed-off-by: Sumit Bajpai <sbajpai@codeaurora.org>
msm: vidc: Fix metadata buffer size issue

- Metadata buffer size is being set to zero when
  client calls set buffer requirements to video driver.
  This change fix it by properly assigning the
  metadata buffer size to video driver.
- When continuous mode enabled, do not get min_dpb
  from resource tracker for non-H264 codecs,
  for H264 codec get min_dpb from resource tracker.

Change-Id: Ie16bc47605edc6f67dbf3ae77290d4d764c5c613
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Merge commit '1649e661b687f3277ee49b9c3058953fde979586' into HEAD
Merge "Merge commit '1649e661b687f3277ee49b9c3058953fde979586' into HEAD"
USB: android: Fix kernel panic during ACM enable

92fe88c8 commit (usb: gadget: Support multiple HSIC transport
instances for dun and rmnet) introduced a sysfs file called
"transport_names" for DUN and RMNET to accept transport names
from user space.  The transport names are used for registering
platform drivers.  Update ACM function too.  Otherwise NULL
string is used to register platform driver and kernel panics.

CRs-Fixed: 479434
Change-Id: I88b56f252f74bcfb2e664a6e37b64fe224739381
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Merge "Bluetooth: GAP: Fast ACL disconnection only for Auth fail"
Merge "USB: android: Fix kernel panic during ACM enable"
Merge "msm: vidc: Fix metadata buffer size issue"
Merge "media: dvb: Add proper protection when calling SW filter packet"
media: dvb: Add notification of overflow event for decoder filter

Applications should receive overflow indication for decoder
filters to get notification on data-loss if happens.

CRs-Fixed: 472160
Change-Id: I467af6cfbb23ccbe81694b039e7cd46c801fdcd2
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
tspp: Add synchronization between API call and tasklet

The TSPP driver uses a tasklet which is scheduled on BAM transfer
completion to process the data. The tasklet verifies that the
channel had not already been closed. Therefore, it is necessary
to have a synchronization mechanism between the channel_close API
function and the tasklet function. Added acquisition of spinlock
in the channel_close function.

Change-Id: I274298cbc9c83b4b6c1d50ffb709b8c5d8d43231
CRs-Fixed: 477556
Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
arm: Kconfig: Disable CONFIG_OABI_COMPAT feature on SMP targets

When this option is enabled to support Old ABI, it introduces
a race condition in swap-out code on SMP, such that
instruction is available to the instruction stream (SWI
instruction) but not the data stream.

CPU0		CPU1
clears pte
		executes instruction from page,
		already has I-TLB but no D-TLB entry,
		takes SWI exception
		tries to load instruction, data abort
tlb flush

Therefore, disable this feature on SMP targets.

Change-Id: I4cc4e6924cfcffad391fe2e68d5aa62eee613b0e
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
Merge "arm: Kconfig: Disable CONFIG_OABI_COMPAT feature on SMP targets"
Merge "media: dvb: Add notification of overflow event for decoder filter"
Merge "tspp: Add synchronization between API call and tasklet"
Merge "dvb: mpq: Secure demux log level"
Merge commit 'AU_LINUX_ANDROID_JB_2.5_RELEASE.04.02.02.069.022' into jb_2.5.6