rtc: qpnp-rtc: Set alarm control register properly

RTC Alarm enable bit does not get conserved during
RTC probe function. This patch fixes that issue.

CRs-Fixed: 636652
Change-Id: I28203b8e301510d34d2e726c0bd25e78737f7524
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
binder: NULL pointer reference

This fix handles a possible NULL pointer reference in
debug message.

CRs-fixed: 642883
Change-Id: Ide78f281ec0cff5cbd8231b85c305d13a892854e
Signed-off-by: Paresh Nakhe <pnakhe@codeaurora.org>
USB: phy-msm-usb: Disable charger detection block on DISCONNECT

VBUS LOW (or DISCONNECT) may happen any time during charger detection
phase. If it happens before charger detection is complete then there
is a possibility of leaving IDP_SRC or VDP_SRC enabled which can
affect charger detection on next cable connect.

Change-Id: Ifde35112aeae294b1979255b9757d5e4fc62c8b0
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT

Most platforms typically rely on USB PHY for sess_vld signal inside
the Link Controller. In case VBUS is not fed to PHY, software can
configure LINK to rely on software controlled bit in USBCMD register
(USBCMD_SESS_VLD_CTRL) for sess_valid. LINK pulls DP HIGH when
running in peripheral mode and sess_valid signal is present.
On VBUS DISCONNET, software currently stops LINK without clearing
sess_valid bit. And it is noticed that USB LINK continues to pull
DP high even after stopping if USBCMD_SESS_VLD_CTRL is not cleared.
This results in charger compliance tests failing renegotiation tests
where CDP --> SDP transition is checked by removing and reapplying
VBUS within 100 msec. Failure happens as compliance tester finds
DP at way too high level (~2.8v) during primary detection stage.

CRs-fixed: 633479
Change-Id: I883867e39e4d1a306e5e63ec1da445a3aede1585
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT"
Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT""
Merge "Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT"""
Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT""
ARM: dts: msm: Update config data of Atmel for 8x10 MTP

Update config data of Atmel touch controller for 8x10 MTP.

CRs-Fixed: 583098
Change-Id: I5e7af79670290433756a3922fe08fe1f7b16b593
Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org>
msm: camera: sensor: Update CCI WR comamnd buffer size to 11 bytes

I2C command length is of 11 bytes, it includes 10 bytes of data and
one byte of WR command. Use 11 bytes char array to create command.

Change-Id: Idf330fef6b8da79c6b7f5a2839d88a68e10a96f9
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Merge "USB: phy-msm-usb: Disable charger detection block on DISCONNECT"
Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP"
Merge "Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT"""
Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT""
Merge "Merge "Merge "USB: ci13xxx_msm: Clear LINK's SW_VBUS state in USBCMD on DISCONNECT"""
Merge "Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP""
Merge "Merge "Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP"""
Merge "Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP""
Merge "Merge "Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP"""
Merge "Merge "ARM: dts: msm: Update config data of Atmel for 8x10 MTP""