msm_fb: hdmi: Proper intialization of mhl resolutions

This change adds missing video format intialization

CRs-Fixed: 481049
Change-Id: Ic14eaba7fefcb8b7f9240cae8c179e3dbeef72a5
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm: kgsl: Protect the mem_entry list during deletion

Use the spinlock to prevent corruption of the mem_entry list during
deletion. Otherwise the mem_entry list may be modified by another
thread at the same time resulting in memory corruption.

Change-Id: I5728a8b925753d5fda82413615e5ebaf0366dfd8
CRs-fixed: 489224
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
msm: kgsl: Submit a draw command on resume

For A305, submit an extra draw command while resuming the GPU from
SLUMBER state. This fixes corruption seen when the screen is
turned on.

Change-Id: Iafed90b617b0a700ac3f2afcb6d9ecadca590914
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
ci13xxx_udc: Acquire spinlock before calling ep_nuke()

The commit b0ad433 (USB: ci13xxx_udc: Fix kernel panic during
composition switch) adds ep_nuke() function in gadget_stop_activity().

_ep_nuke() releases and re-acquires spinlock on every entry of the
function. Acquiring spinlock before calling _ep_nuke() is necessary,
else it may end up in unlocking the lock twice, as it is already
unlocked before calling _ep_nuke(), which may lead to crash.

Hence, acquire spinlocks before calling _ep_nuke() function.

CRs-Fixed: 486502
Change-Id: Ia80b9facb8e592f8fb41879dc08f9f1a04a20b48
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
media: dvb: Protect against removing all PIDs from an active filter

When TS filter is active (running), it is not allowed to remove
all PIDs associated with the filter; The filter state would be
invalid and as such may result in unexpected behavior while
performing runtime operations on the filter.

CRs-Fixed: 492444
Change-Id: I340b02bed218e89ffe89932e3b3e9ea93f429876
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Merge "msm_fb: hdmi: Proper intialization of mhl resolutions"
Merge "msm: kgsl: Submit a draw command on resume"
Merge "media: dvb: Protect against removing all PIDs from an active filter"
Merge "ci13xxx_udc: Acquire spinlock before calling ep_nuke()"
Merge "msm: kgsl: Protect the mem_entry list during deletion"