mdss: hdmi: Disabling software DDC requests

Disable software DDC request before moving to
part3 of HDCP authentication and re-enable it on
before reading EDID. This is done to avoid any
DDC bus arbitration issues while handing over from
software DDC control to hardware DDC control.

Change-Id: Iffde0147e497c1411d867c22c3674b73ceb95bac
CRs-Fixed: 484366
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
(cherry picked from commit 72744dba6ffe5c1db12f82d17d908ba7d8c3948c)
mdss: hdmi: Clear pending h/w DDC data before HDCP disable

Poll for HW DDC status to ensure no pending H/W DDC transactions
before disabling HDCP engine. This is required to avoid corruption of
internal state machine of HDCP hardware, which if happens, will lead to
continous Ri's failures in Part 3 Authentication(when h/w DDC transaction
take control again).

Change-Id: Iab01599a40ff75d4021b426c723a759fb3230c81
CRs-Fixed: 484366
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
(cherry picked from commit 2bef75e670d5ed6d6e7cef8faf6ec71ce7c24bc8)
USB: dwc3: msm: add charger detection for floated D+ and D-

Floated charger means "D+/D- floated charger". According batt
charging spec 1.2, during primary detection, the DP voltage
is VDP_SRC, DM voltage may not exceed VDAT_REF, it's same to
standard downstream port(SDP). Introducing data contact
detection(DCD) here to distinguish between SDP and floated
charger. If DCD detected, it's SDP, otherwise floated charger
is detected. Also rename UNSUPPORTED charger as FLOATED charger
as data lines D+/D- are floating.

Change-Id: I0fd307c512f46331e6e1d80759c1585fc1db8a39
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
(cherry picked from commit c5081d26369f11ec401ca87c5753b9420b697479)
ASoC: msm: Fix RTAC to use VSID

All voice sessions use unique VSID for active
sessions in CVD. RTAC get param for voice
sessions require this VSID to work correctly with
CVD. This change fixes the issue of using proper
VSID in RTAC.

Change-Id: I6eb8e64ee5d7fad212b77882c897e5feb3cc96c5
CRs-Fixed: 506008
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
(cherry picked from commit dd9146c70b578aa0d767a16ecf89fd8ec031ad9c)
USB: dwc3: msm: Read pmic_id_irq line status with interrupts disabled

Ideally pmic_id irq line status should be read with interrupts disabled
in work queue context. Otherwise it might lead to deadlock scenario.
Hence fix this by reading pmic_id irq line status with interrupts
disabled in work queue context.

CRs-Fixed: 504144
Change-Id: I33581427e430ea8788518eaf95d69b4950695d0f
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
(cherry picked from commit 64cd0b3b75caa5e1743f93ff8ac02928ad4374b4)
ASoC: msm: qdsp6v2: kill wrong error check

Only APR_BASIC_RSP_RESULT AFE callback contains error code in the payload.
Don't refer to payload for error checking with opcode other than
APR_BASIC_RSP_RESULT.

Change-Id: I8f021f29640eb257193490500d50be1eaef7f11a
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
(cherry picked from commit 153ea8ec71d169afe984b7d04d990b1aef98c2bc)
wcnss: pil-pronto: Add register dump to bite handler

Log a number of WCNSS registers when there is a bite from it; these
register dumps will help for root causing the bite at WCNSS. The
register dump will not be taken when common_ss is power collapsed, that
protection is already added to the dump routine.

Change-Id: I9cc6c539b0efe9d0dc3d51949f9c9557c746bd61
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
(cherry picked from commit 1786bde6d561296bc83a217a835f34e5ee61795e)
Merge "mdss: hdmi: Disabling software DDC requests"
Merge "mdss: hdmi: Clear pending h/w DDC data before HDCP disable"
Merge "USB: dwc3: msm: add charger detection for floated D+ and D-"
Merge "ASoC: msm: Fix RTAC to use VSID"
Merge "USB: dwc3: msm: Read pmic_id_irq line status with interrupts disabled"
Merge "ASoC: msm: qdsp6v2: kill wrong error check"
Merge "wcnss: pil-pronto: Add register dump to bite handler"