wcnss: Sample WCNSS TOP AHB clock on WCNSS WDOG bite

Sample the wcss_top_ahb_clk and determine whether or not the clock freq
is zero when the issue occurs. This will help confirm the reason for
the system reset when Apps tries to access PMU registers for logging
purposes.

Change-Id: Ia4f34a38b7e8d237b9e5ae935d9ce339ca2d6ed1
Signed-off-by: Yue Ma <yuem@codeaurora.org>
ARM: dts: msm: support qseecom bus scaling in msm8226

To support qseecom bus scaling, ab & ib values are changed to set four
bandwidth levels: "INACTIVE, LOW, MEDIUM and HIGH" with corresponding
bus bandwidth of {0M, 0M, 150M, 492M}; and the flag of support-bus-scaling
is also set to one.

Signed-off-by: Zhen Kong <zkong@codeaurora.org>
ASoC: msm: qdsp6v2: Release IPA mapping

When DSP has a SMMU associated with it, audio driver will allocate
(KVA)kernel virtual address and (IPA)intermediate physical
address.When freeing memory audio driver should release IPA and KVA
mappings. Change fixes the issue where IPA mapping was not released

Change-Id: I9487ac69e509d509593d0bef00edc55c9847945a
CRs-fixed: 600938
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
ASoC: wcd9xxx: Do not acquire codec resource lock to get hph impedance

Acquiring codec resource lock within get impedance function may
cause deadlock when headset inserted/removed repeatedly. Remove
the lock as it is not required to be protected with a mutex.

CRs-fixed: 597226
Change-Id: I245a09eb37ccf44d5fddff73cd279001a22c6a2b
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
msm: mdss: Verify histogram size before sending to user

Add check to DSPP histograms to verify that the number of pixels collected
is the same as the resolution of the region being processed.

Change-Id: I21acd1b4a25d06391c853e7495ca3fb3bb0ffef4
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
msm: pil-pronto: Move wcnss log on wdog bite function into a workqueue

The clock APIs called by wcnss log on wdog bite function may block wcnss
wdog bite interrupt handler, hence move the function into a workqueue.

CRs-Fixed: 608799
Change-Id: I23252f8cf3894e11c5479a96867fb5168ac7e7b5
Signed-off-by: Yue Ma <yuem@codeaurora.org>
USB: msm_otg: Print warning message when not able to turn USB CLKs

This change prints warning message failures with call stack when
not able to turn ON USB core_clk and pclk in msm_otg_resume() and
msm_otg_link_clk_reset()

CRs-Fixed: 612896
Change-Id: I9f53751b9ff0254205231656e01ed84302067bef
Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>
msm: camera: Cleanup msm_generic_buff list while close

Cleanup the camera msm generic buffer manager list
when all v4l2 nodes are closed.

Change-Id: I27636533621d3329bcc5dffba8c003d2cdc252c2
CRs-Fixed: 599983
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
msm: msm_bus: Don't divide RPM BW requests

When sending bandwidth requests to slave don't divide the request by
the number of ports as this is done at the RPM driver.

CRs-Fixed: 611965
Change-Id: Ie6870b66d1621677d94e4441136aed89bbdb6595
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Merge "USB: msm_otg: Print warning message when not able to turn USB CLKs"
Merge "Merge "input: misc: fix mma8x5x interrupt mode crash""
Merge "Merge "Merge "input: misc: fix mma8x5x interrupt mode crash"""
Merge "Merge "USB: msm_otg: Print warning message when not able to turn USB CLKs""
Merge "Merge "Merge "USB: msm_otg: Print warning message when not able to turn USB CLKs"""
Merge "msm: mdss: Verify histogram size before sending to user"
ASoC: msm: Add DSP support for SRS on A2DP

  Enabling or disabling SRS effects on music playback on
  A2DP doesn't have any effect.
  Cause for this is, parameters for SRS effects were not send
  if the device is A2DP.
  Fix is to add a new kcontrol for A2DP and use the new kcontrol
  to send SRS parameters for A2DP case.

CRs-Fixed: 536895, 596010
Change-Id: Ia0c338cc0b6505ce518b76287b392e5e8011ae1b
Signed-off-by: Sharad Sangle <assangle@codeaurora.org>
Merge "Merge "USB: msm_otg: Print warning message when not able to turn USB CLKs""
Merge "Merge "Merge "USB: msm_otg: Print warning message when not able to turn USB CLKs"""
Merge "Merge "msm: mdss: Verify histogram size before sending to user""
Merge "ASoC: msm: Add DSP support for SRS on A2DP"