msm: vidc: Send resolution along with output buffer

Send the resolution along with output buffer to the client
to avoid a race condition where resolution might be changed
multiple times in driver before client requests for updated
resolution.

Change-Id: I8ebb99e3baa04da09f153195a674babcebcfea78
Signed-off-by: Pushkaraj Patil <ppatil@codeaurora.org>
mdss: mdp: fix incorrect programming of scalar enable

In use-cases where scaling is required in one direction
and not on other, scalar extension parameter will be set
to update the scale register. Add proper check to this enable
scale bit only in the required direction.

Change-Id: I5527f22c83fe456d0124af12516c5bdb240e80a9
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
leds: leds-qpnp: check if flash_wa regulator is obtained before enabling it

Enable flash_wa regulator in qpnp_flash_regulatori_operate function only if
it is obtained in the first place.

Change-Id: Ibddda5327a792edecfe61fca451dbd0bfff2bda2
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
leds: leds-qpnp: check if flash_wa regulator is obtained before enabling

The flash led requires the use of an optional regulator, "flash_wa_reg".
This regulator is enabled without checking if the regulator is obtained
or not. Hence, a check is made before enabling/disabing the regulator to
ensure that the "flash_wa_reg" is obtained first.

Change-Id: I8fda00274ad3bc21d9ed32d0f3f2ca09e1079f87
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
ARM: dts: msm: Add flash_wa regulator support for msm8974 flash

Add the DT property flash-wa-supply to flash device node and assign
pm8941_chg_chgr regulator to it. This enables the flash_wa regulator
support for the msm8974 flash driver.

Change-Id: I41a49d4ffb8d7b1190ab755c9dd16ddaa0d6232b
Signed-off-by: Chunmei Cai <ccai@codeaurora.org>
Merge "leds: leds-qpnp: check if flash_wa regulator is obtained before enabling it"
Merge "leds: leds-qpnp: check if flash_wa regulator is obtained before enabling"
Merge "Merge "leds: leds-qpnp: check if flash_wa regulator is obtained before enabling""
Merge "mdss: mdp: fix incorrect programming of scalar enable"
Merge "Merge "mdss: mdp: fix incorrect programming of scalar enable""
Merge "ARM: dts: msm: Add flash_wa regulator support for msm8974 flash"
Merge "Merge "ARM: dts: msm: Add flash_wa regulator support for msm8974 flash""
Merge cba7c99f96408b366ad759edbed834d1d26ca1d2 on remote branch

Change-Id: I9ed05775985e3d558a1ba5dd10cae083eb7a0884
ARM: dts: msm: Add flash_wa regulator support for msm8974 flash.

Add the DT property flash-wa-supply to flash device node and assign
pm8941_chg_chgr regulator to it. This enables the flash_wa regulator
support for the msm8974 flash driver.

Change-Id: I41a49d4ffb8d7b1190ab755c9dd16ddaa0d6232b
Signed-off-by: Chunmei Cai <ccai@codeaurora.org>
Signed-off-by: Akhila Musunuri <makhila@codeaurora.org>
Merge "Merge cba7c99f96408b366ad759edbed834d1d26ca1d2 on remote branch"
Merge "ARM: dts: msm: Add flash_wa regulator support for msm8974 flash."
Merge "msm: vidc: Send resolution along with output buffer"
Merge "Merge "msm: vidc: Send resolution along with output buffer""
Merge 65dd74e2c59e100edaa82a494b18340ce018745f on remote branch

Change-Id: I431c4885cc35c9b7a07228b21d674971febf1303
Merge "Merge 65dd74e2c59e100edaa82a494b18340ce018745f on remote branch"