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>
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 "ASoC: msm: Add DSP support for SRS on A2DP"
[media] media: Init the reserved fields of struct media_link_desc

struct media_link_desc is copy_to_user'ed as the return value of
MEDIA_IOC_ENUM_LINKS. When copying, the driver is omitting to initialise
the reserved fields.  This commit fixes that by initialising the
reserved fields to 0.

CRs-Fixed: 570757
Change-Id: I230e2666c0845cc36399518a0f2c94db664382d1
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
ondemand: add sysfs entry for down_diff_multi_core

This change adds sysfs entry for the ondemand governor's attribute
down_differential_multi_core. This is required to be able to program
this knob to attain better perf/power for use cases like camcorder.

CRs-fixed: 561456
Change-Id: Ib7c1223215c6b714c286c231ed37f3abfae741c6
Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>
Merge "[media] media: Init the reserved fields of struct media_link_desc"
msm: thermal: Initialize per cpu variables during thermal init

Initializing the per cpu variables inside frequency/hotplug
probe function has a possibility that it may result in
uninitialized variables. So initialize the per cpu variables
in the thermal drivers init function.

Change-Id: I4cac01defeedcea2ae7447a81cc6e4f9584db010
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Merge "ondemand: add sysfs entry for down_diff_multi_core"
ARM: dts: msm: Disable AHB2AHB bypass mode for non-LTE based platform

AHB2AHB bypass is USB controller feature. Enabling this improves
USB data transfer performance. Hence enable this feature to achieve
throughput requirement with USB tethered use cases only on LTE
supported platform e.g. 8926.

Enabling AHB2AHB bypass mode in device mode is causing USB Host mode
and Chapter 9 Compliance Test failures. AHB2AHB bypass functionality
is mainly required for achieving high throughputs with USB tethered
use cases on LTE supported platform. As 8226 and 8626 are non-LTE
based platform, hence disabling AHB2AHB bypass mode for non-LTE based
platforms e.g 8226 and 8626.

When switching from peripheral to host mode, usb controller reset is
not happening if otg-disable-reset flag is enabled. For the USB host
mode functionality to work it is required that usb controller reset
should happen when switching from peripheral to host mode.
Hence fixing USB Host mode issue (caused due to enabling AHB2AHB
mode for 8926 based platform) by disabling the otg-disable-reset
flag which would result in usb controller reset as part of switching
from peripheral to host mode.

CRs-Fixed: 615447
Change-Id: Icf4acf213fa57b89b17fc47f83ce1882546c0fd4
Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>
Merge "msm: thermal: Initialize per cpu variables during thermal init"
Update to AU_LINUX_ANDROID_JB_3.2.04.03.00.112.432

Change-Id: I4a514a82b217291c30c67201123a596bb92dee3c
Signed-off-by: B2G User <b2guser@localhost>
Merge "Update to AU_LINUX_ANDROID_JB_3.2.04.03.00.112.432"
Merge "msm: camera: Cleanup msm_generic_buff list while close"
Merge "ARM: dts: msm: Disable AHB2AHB bypass mode for non-LTE based platform"
Merge "msm: msm_bus: Don't divide RPM BW requests"
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>
Merge "msm: camera: Cleanup msm_generic_buff list while close"
Update to AU_LINUX_ANDROID_JB_3.2.04.03.00.112.436

Change-Id: I71b939cb4f5def77e6fdb2a4fe63249c4bb77ff1
Signed-off-by: B2G User <b2guser@localhost>
Merge "Update to AU_LINUX_ANDROID_JB_3.2.04.03.00.112.436"