radio-iris: Add ioctl commands to configure spur table

Provide interfaces to allow host to update the spur table
with spur frequencies specific to platforms.

CRs-Fixed: 352591
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
(cherry picked from commit f950e320ee1e717b33c6ca7fbed7efe34beb07cf)

Change-Id: I22c37e1f0b10b7ced9254647c7b89c3e0cbd6bf4
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
vidc:vdec: Clean extradata portion and invalidate whole buffer

This commit will ensure to clean the extradata portion in
output buffer changed by the CPU before sending the buffer
to Video hardware and invalidate the output buffer changed
by Video hardware before CPU access the buffer.

CRs-fixed: 366446
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit ddd20e2ff4e5d2d4f11d9ad54d40175d35f724e7)

Change-Id: Ie2602528bdfa9a3cf672a4dec28269675782a0ab
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
The error checking is not performed when the clocks are enabled.

Add proper error checks while doing this.

The clock APIs dont return any error conditions while disabling
clocks. So no error checking is required when the clocks are disabled.

CRs-fixed: 364226
Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
(cherry picked from commit 89cfcd70243e365f5479ce3760f62766b88e5261)

Change-Id: I510e10624edfd3cbcadc35eb338a7c55badd3dc9
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_fb: display: Increase wait for VSYNC

Wait time for VSYNC needs to be increased to accomodate 1080p
24HZ resolution which requires around 41ms.

CRs-fixed: 368521
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
(cherry picked from commit b5085c57a43b2ba6cded7b4adeb646ed3c8ad095)

Change-Id: Id48f52457215d7d8db99acdc83627c3b165ba717
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
spi_qsd: chip select doesn't assert for every 4k bytes

If infinite mode is not supported, chip select goes
high after every 4k bytes. Make sure the same behavior
does not happen on targets that support infinite mode.

CRs-Fixed: 361961
Change-Id: I5cfea96202718214a8edd060e06fbb7fb2fa90a2
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
USB: gadget: Fix crash in ci13xxx_udc.c

In isr_setup_status_phase(), driver is not checking whether
the pointer is NULL before checking udc->status. Otherwise
it leads to crash. Fix it by checking for NULL.

CRs-Fixed: 367725
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
(cherry picked from commit 28f14eecbd924d067520943613dcd0f965e0310e)

Change-Id: I115844013d508cc48eb432317710960f47ba79ba
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
msm_fb: display: detect if timing generator is on when do dma waiting

If the timing generator is not on, dma waiting won't return and system
crashes. So add TG on detection to avoid the issue.

CRs-fixed: 362503
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
(cherry picked from commit 1c2bee0158437f485c32f6750e8df3314ae9168b)

Change-Id: I4462b38635a974102c133a8abdfce7b04d33323a
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
msm_fb: display: extend mdp debugfs with force blt enable

Enabling mixer0 or mixer1 blt mode is a critical way to debug display
issues, so add debugfs interfaces to force blt mode enabled with adb
shell commands, instead hack the code and recompile kernel.

CRs-fixed: 362503
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
(cherry picked from commit add1ac8beb5af7bfbf311b6fd8ed253a92329f23)

Conflicts:

	drivers/video/msm/mdp4.h

Change-Id: I237eaf93a19fe0cb65050fbe7b8d4e9ddddb1603
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
wcnss: add subsystem failure reason for wcnss

Print a message to kernel log indicating the reason
for failure of wcnss subsystem. The failure reason
is provided by wcnss subsystem, when available.

Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>
(cherry picked from commit c6e4288ef693d26c9e26342ba6439aee075c1f58)

Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
(cherry picked from commit 3001b8ff25bcdfc023568af0b6601ca021e7c347)

Conflicts:

	arch/arm/mach-msm/wcnss-ssr-8960.c

Change-Id: I32c7c04b8067f9caf240e253ff2a1712b5b59239
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>