media: dvb: Add initialization of PES error indicators

Following SDMX notification on PES data the errors indicators
for PES event were not cleared if SDMX did not report any error.

CRs-Fixed: 493108
Change-Id: I89b43ce193b96462b804848c5e484d25343d5f40
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
media: dvb: Fix race condition in DVR thread

When DVR thread is created, it may happen that user sets
DVR buffer mode to external buffer but did not yet set the
buffer itself, meanwhile, DVR thread checks whether the
input buffer was already set and if not the thread terminates.

This causes termination of DVR thread for no good reason.
DVR thread should be terminated only when DVR device is closed.
The change removes termination of the thread when input buffer
is not set yet to avoid such race condition.

CRs-Fixed: 493761
Change-Id: I57c9acd13bd493ae08d28703bf5f6c0dea55c20a
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
msm_fb: display: change TE simulation and read pointer interrupt timing

The current parameters for command mode TE simulation on mdp side are
not straightforward and cause double read pointer interrupts. Now make
read pointer interrupt and line counter reset happen right at h/w
vsync, and kick_off start position and height are set to back porch
and max respectively, so timing is much simplified and the chance of
tearing is reduced.

CRs-fixed: 463273
Change-Id: Ia25710556bc2b031cdfaaf08fee034baab33d124
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
led: leds-pm8xxx: Add support to control compensation resistor

Add support to control compensation resistor of WLED
passed from the board file platform data.

Change-Id: Id5f36d49a532d8216ea9bc1415e67135d40ee18d
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
arm: board-8930-pmic: Pass WLED compensation resistor value

Pass WLED compensation resitor value via platform data.

Change-Id: I318b2edc817f50181bd2b7c08cb01b15b72cc5e6
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
media: dvb: Fix parsing of SDMX results

When playing from memory, it may happen that demux thread
is stalled while parsing SDMX results due to PULL mode.
While thread is stalled it is possible that user asked to
add new filter and therefore the SDMX filter count increases.

When thread gets back from stalling, it may parse additional
filters result even-though they were not processed by SDMX yet,
hence parsing un-initialized data.

Change-Id: Idb9430ec07f5869585ed1ae9ab3d43c4d31ff4d2
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Merge "media: dvb: Add initialization of PES error indicators"
Merge "media: dvb: Fix race condition in DVR thread"
Merge "media: dvb: Fix parsing of SDMX results"
Merge "msm_fb: display: change TE simulation and read pointer interrupt timing"
Merge "led: leds-pm8xxx: Add support to control compensation resistor"
Merge "arm: board-8930-pmic: Pass WLED compensation resistor value"