media: dvb: dvb-core: Add new features for MPQ use-cases

MPQ requires dvb/demux and dvb/video devices for
broadcast feature. Linux dvb-core was extended to
enable extra features required for MPQ use-cases
that dvb-core did not support originally.

New features:
- Add handling of transport streams with TS packets of
  192-bytes (in addition to TS packets of 188-bytes),
  required for Bluray/DLNA transport streams.

- Support mmap to optimize data transfer between kernel
  and user-space for high-bitrate streams.

- Support pull-mode when playing from memory so that
  buffers are not overflowed as in the case of live
  playback (push-mode).

- Support setting buffer-size of filters with data
  tunneled to decoder.

Change-Id: Ia357186874165ba218773ede3cf5b5e2dab91567
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
media: dvb: Support dvb devices for MPQ

MPQ requires dvb/demux devices for broadcast
feature. Linux dvb-core was extended to support
MPQ demux devices

Change-Id: I983bf71c5b826610d9283e8e4f359df0535f518f
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
mmc: msm_sdcc: Set DAT_CMD bit for all ADTC commands

Previously, DAT_CMD bit was not being set for ACMD51, even though it
is a read SCR command. This prevented data timeout interrupts in some
cases.
This fix sets the DAT_CMD bit for all ADTC
(Addressed Data Transfer Commands) command types e.g. CMD24/25.

CRs-Fixed: 359800
Change-Id: I70ae20474eadd803798b8dc054816d7687a79886
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
msm: qdsp5: Fix scheduling while atomic bug in adsp probe

-Scheduling while atomic message comes while boot up of target.
-This message comes when kernel thread to process adsp rpc
call backs is started in adsp_probe which runs in
atomic context.
-Move adsp rpc kernel thread start to bottom half using work queue.

CRs-Fixed: 342525
Change-Id: I50834b4f50fe8a7c29979808ee5fa0de6f4b0c62
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
msm: board-8930-pmic: Add platform data for Speaker driver

Supply platform data for speaker driver with info of additional
speaker inputs supported. The pmic pm8038 supports one additional
input path to Speaker Power amps. Add this to pdata as part
of PMIC sub devices platform data.

Change-Id: I8045cc517a29853590b436f86cac5504557de049
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
media: rc: Add support for Samsung remote in gpio ir receiver

Change support from Philips to Samsung remote in gpio ir receiver

Change-Id: Id6ec680a7d824a4e516676df8f24321bb5160046
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
usb: gadget: mbim: Set NtbMaxDatagrams to 0

Set ntb max datagrams count as unlimited to enable better
performance on the uplink with bursty traffic composed
of small packets.

Change-Id: I3cc29de8b3f57dac3007bfa4b2d183911dacaa33
Signed-off-by: Anna Perel <aperel@codeaurora.org>
msm: camera: Validate and adjust exposure setting

While changing between preview and snapshot modes, different
frame length line is configured. Coarse integration time may
become invalid for some frame length line values. Validate and
reconfigure frame length line while switching between modes

CRs-fixed: 356564
Change-Id: I4b0f3b9525b11a3590610acb69434ad8a19f9552
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
msm: clock-voter: Assign voter_clk_handoff() in clk_ops_voter

voter_clk_handoff() was never assigned as the handoff op for
clk_ops_voter. Fix this and mark it as static at the same time.

Change-Id: I8d6ff1eea35a7e57aeb0be220c1e80d43a923722
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
msm: board-8064: Tweak regulator configurations for S4, L1, and L4

Change the regulator configurations for the following regulators:
S4 - Use auto mode instead of PWM.
L1 - Use LPM instead of HPM.
L4 - Allow consumers to determine mode.

Change-Id: Ic7042aa7f537942781f840b1d2e16a7873aeeff5
Signed-off-by: David Collins <collinsd@codeaurora.org>
iopoll: Tweak min sleep time used with usleep_range()

Users of the iopoll macros may need to poll addresses that take
a long time to update. In such cases, the hardcoded value of 1 us
passed as the minimum delay to usleep_range() may result in
reads that occur more often than necessary.

Use (sleep_us/4) as the min delay instead of 1 us to resolve this
is a scalable way.

Change-Id: I8f679a7ecdb9ea2666c78aabca3c8ba806e0ead3
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Merge "base: genlock: remove BIT macro usage" into msm-3.0
Merge "msm_fb: Increase backlight granularity from 15 to 255 levels" into msm-3.0
Merge "msm: copper: Register non-secure timer interrupts" into msm-3.0
Merge "vidc: Update the secure firmware fixed address." into msm-3.0
Merge "ASoC: WCD9310: Rearrange port order for TX2 CODEC DAI." into msm-3.0
Merge "msm: platsmp: Update release sequence for secondary cores" into msm-3.0
Merge "msm_fb: display: add dtv wait for vsync when in blt mode" into msm-3.0
Merge "USB: gadget: android: Add NULL check for platform data" into msm-3.0
Merge "diag: Protect shared resources while mask updates" into msm-3.0