OSDN Git Service
Badhri Jagan Sridharan [Mon, 28 Mar 2016 21:41:21 +0000 (14:41 -0700)]
ANDROID: dm: Minor cleanup
Compacts the linear device arguments removing the
unnecessary variables.
Bug:
27175947
Change-Id: I157170eebe3c0f89a68ae05870a1060f188d0da0
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Git-commit:
438e162621ac7e80ec9c81bea3f0eaec0b801ff9
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Badhri Jagan Sridharan [Mon, 21 Mar 2016 17:55:23 +0000 (10:55 -0700)]
ANDROID: dm: Mounting root as linear device when verity disabled
This CL makes android-verity target to be added as linear
dm device if when bootloader is unlocked and verity is disabled.
Bug:
27175947
Change-Id: Ic41ca4b8908fb2777263799cf3a3e25934d70f18
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Git-commit:
67ce481897e0656404fe0af42d563101a5629bbe
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Badhri Jagan Sridharan [Tue, 9 Feb 2016 00:28:43 +0000 (16:28 -0800)]
ANDROID: dm-android-verity: Rebase on top of 4.1
Following CLs in upstream causes minor changes to dm-android-verity target.
1. keys: change asymmetric keys to use common hash definitions
2. block: Abstract out bvec iterator
Rebase dm-android-verity on top of these changes.
Bug:
27175947
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: Icfdc3e7b3ead5de335a059cade1aca70414db415
Git-commit:
f42f971b7b59257a8610608b7f45a046c7c57b5d
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Badhri Jagan Sridharan [Tue, 15 Dec 2015 04:09:39 +0000 (20:09 -0800)]
ANDROID: dm: Add android verity target
This device-mapper target is virtually a VERITY target. This
target is setup by reading the metadata contents piggybacked
to the actual data blocks in the block device. The signature
of the metadata contents are verified against the key included
in the system keyring. Upon success, the underlying verity
target is setup.
BUG:
27175947
Change-Id: I7e99644a0960ac8279f02c0158ed20999510ea97
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Git-commit:
36d01a590d035804dc100e105facf4049cf6fe43
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Vikram Mulukutla [Fri, 28 Oct 2016 21:06:12 +0000 (14:06 -0700)]
dm-verity: Add a temporary dummy opaque struct declaration
Upcoming dm-verity changes include a series that introduces
an extern in dm-verity.h that is both useless (isn't defined)
and causes a warning that breaks compilation. Introduce a
dummy opaque struct to allow compilation and revert it later
when the offending declaration is fixed.
Change-Id: I82a911cf963367b1f311c5035bf894a380a76e54
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Linux Build Service Account [Thu, 27 Oct 2016 22:49:28 +0000 (15:49 -0700)]
Merge "ASoC: msm: Add routes for all TDM modes"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:27 +0000 (15:49 -0700)]
Merge "ASoC: msmcobalt: Add support for all TDM modes"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:26 +0000 (15:49 -0700)]
Merge "ARM: dts: msm: fix sd card detection for msmcobalt QRD SKUK board"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:25 +0000 (15:49 -0700)]
Merge "ASoC: msm: Enable Media Format converter for all resampling usecases"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:22 +0000 (15:49 -0700)]
Merge "msm: mdss: Fix memleak in framebuffer register and remove"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:22 +0000 (15:49 -0700)]
Merge "msm: mdss: Correct settings when on/off happens in dest-scaler"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:21 +0000 (15:49 -0700)]
Merge "msm: mdss: Avoid adaptive variable refresh during dynaminc FPS"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:19 +0000 (15:49 -0700)]
Merge "msm: mdss: dp: remove programming of maud/naud for audio"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:18 +0000 (15:49 -0700)]
Merge "ARM: dts: msm: enable esd for jdi qhd cmd mode panel in msmcobalt"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:17 +0000 (15:49 -0700)]
Merge "qcom-charger: set optimal buck switching frequency"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:16 +0000 (15:49 -0700)]
Merge "ARM: dts: msm: add SLPI fw name property for msmcobalt"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:15 +0000 (15:49 -0700)]
Merge "sensors: ssc: add support to read SLPI fw name"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:14 +0000 (15:49 -0700)]
Merge "msm: ipa: Fix the memory leak in error cases"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:14 +0000 (15:49 -0700)]
Merge "qseecom: check buffer size when loading firmware images"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:12 +0000 (15:49 -0700)]
Merge "leds: qpnp-flash-v2: fix safety timer configuration"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:11 +0000 (15:49 -0700)]
Merge "msm: ipa: fix ioctl input param validation"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:10 +0000 (15:49 -0700)]
Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmfalcon"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:09 +0000 (15:49 -0700)]
Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmcortex"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:09 +0000 (15:49 -0700)]
Merge "ASoC: msmcobalt: Fix MCLK routing on msmcobalt for WCD9340"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:08 +0000 (15:49 -0700)]
Merge "ARM: dts: msm: Add dmic clock rate on ECPP path for msmcobalt"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:07 +0000 (15:49 -0700)]
Merge "soc: qcom: add support for fingerprint sensor driver"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:06 +0000 (15:49 -0700)]
Merge "ASoC: wcd-dsp-mgr: fix restart logic when codec comes back online"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:05 +0000 (15:49 -0700)]
Merge "ASoC: wcd934x-dsp-cntl: fix memory enable/disable sequence"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:04 +0000 (15:49 -0700)]
Merge "USB: dwc3-msm: Disable pipe clock requirement for HS/FS only mode"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:03 +0000 (15:49 -0700)]
Merge "clk: qcom: Change clock index for mmssnoc_axi clock for MSMfalcon"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:02 +0000 (15:49 -0700)]
Merge "msm: sde: Fix SDE rotator clock disable sequence"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:02 +0000 (15:49 -0700)]
Merge "input: misc: hbtp_input: Add support for multiple AFE"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:01 +0000 (15:49 -0700)]
Merge "msm: mdss: edid: fix dtd parsing"
Linux Build Service Account [Thu, 27 Oct 2016 22:49:00 +0000 (15:49 -0700)]
Merge "clk: msm: clock: Remove controlling some graphics clocks in Linux"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:59 +0000 (15:48 -0700)]
Merge "sched: Fix compilation issue with reset_hmp_stats"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:57 +0000 (15:48 -0700)]
Merge "ASoC: wcd934x: Trigger codec DSP subsystem restart"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:56 +0000 (15:48 -0700)]
Merge "usb: dwc3: gadget: Remove dev_WARN_ONCE in dwc3_gadget_ep_disable"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:55 +0000 (15:48 -0700)]
Merge "ARM: dts: msm: Add support for Modem PIL on msmfalcon"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:54 +0000 (15:48 -0700)]
Merge "ARM: dts: msm: Add support for Modem PIL on msmtriton"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:52 +0000 (15:48 -0700)]
Merge "leds: qpnp-wled: Fix configuration of AVDD TRIM and OVP registers"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:51 +0000 (15:48 -0700)]
Merge "cfg80211: Add support to configure a beacon data rate"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:50 +0000 (15:48 -0700)]
Merge "icnss: Do not parse VBATT DT entry if VBATT feature is disabled"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:49 +0000 (15:48 -0700)]
Merge "ARM: dts: msm: add PCIe PHY sequence for msmcobalt v2"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:48 +0000 (15:48 -0700)]
Merge "input: touchscreen: fix compilation errors for Goodix driver"
Linux Build Service Account [Thu, 27 Oct 2016 22:48:47 +0000 (15:48 -0700)]
Merge "ASoC: qdsp6v2: fix potential bug of infinite loop"
Sunil Paidimarri [Tue, 18 Oct 2016 01:33:13 +0000 (18:33 -0700)]
msm: ipa: Fix the memory leak in error cases
Free the skb if packet is not sent to ipa hw
successfully other than TX_BUSY error cases to avoid
memory leak.
Change-Id: I012484aa92e8f25ed0ad4f6709a54f40409ab8d2
CRs-Fixed:
1077525
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Zhen Kong [Fri, 21 Oct 2016 00:34:20 +0000 (17:34 -0700)]
qseecom: check buffer size when loading firmware images
Make change in __qseecom_load_fw() and qseecom_load_commonlib_image()
to check buffer size before copying img to buffer.
CRs-fixed:
1080290
Change-Id: I0f48666ac948a9571e249598ae7cc19df9036b1d
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Harry Yang [Wed, 5 Oct 2016 00:03:56 +0000 (17:03 -0700)]
qcom-charger: set optimal buck switching frequency
Reduce the power dissipation impact by choosing the optimal
switching frequency per input voltage.
The optimal switching frequences are chosen as follow,
5V only = 600kHz
6-8V QC3 = 800kHz
9V QC2 or vanilla PD = 1.0MHz
12V QC2 or PD adapter = 1.2MHz
CRs-Fixed:
1048242
Change-Id: I2ef9f3e122b39682a743334668fcd0aeb085e147
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Linux Build Service Account [Wed, 26 Oct 2016 20:13:25 +0000 (13:13 -0700)]
Merge "Merge remote-tracking branch 'msm-4.4/tmp-
510d0a3f' into msm-4.4"
Linux Build Service Account [Wed, 26 Oct 2016 20:13:24 +0000 (13:13 -0700)]
Merge "clk: osm: msm: allow WDOG status register to be enabled via debugfs"
Linux Build Service Account [Wed, 26 Oct 2016 20:13:22 +0000 (13:13 -0700)]
Merge "msm: mdss: fix crash when wrong params are passed on the esd config"
Linux Build Service Account [Wed, 26 Oct 2016 20:13:21 +0000 (13:13 -0700)]
Merge "icnss: Do top level reset when timeout to pull register state"
Skylar Chang [Wed, 19 Oct 2016 20:30:44 +0000 (13:30 -0700)]
msm: ipa: fix ioctl input param validation
Fix input parameter validation in order to avoid
device crash because of incorrect parameter in IPA driver.
Change-Id: Icbdb05aeb9211665420a872d3453dbbd24fd347b
CRs-Fixed:
1069060
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Sudheer Papothi [Wed, 26 Oct 2016 13:56:00 +0000 (19:26 +0530)]
ASoC: msmcobalt: Fix MCLK routing on msmcobalt for WCD9340
MCLK TX widget has been added for WCD9335 for recording usecases,
but this results in failure of audio recording usecases on
WCD9340 as msmcobalt supports dynamic detection of codecs. Add
corresponding MCLK widgets based on codec selection for audio
recording usecases to work properly on both codecs.
CRs-Fixed:
1022917
Change-Id: I772e05990a796c99c3b6b6f50323d87b5894231b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Sudheer Papothi [Fri, 21 Oct 2016 23:10:47 +0000 (04:40 +0530)]
ARM: dts: msm: Add dmic clock rate on ECPP path for msmcobalt
DMIC clock on ECPP(Echo cancellation Ping-Pong) path can
run at 1.2MHz. Change configures DMIC clock rate for ECPP
path in codec device node.
CRs-Fixed:
1022917
Change-Id: Ib846318dc3d359672314485d386a23fd8621bfda
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Ananda Kishore [Wed, 19 Oct 2016 14:45:10 +0000 (20:15 +0530)]
ARM: dts: msm: add SLPI fw name property for msmcobalt
Add SLPI fw name property to support dynamic loading of SLPI
fw images based on the version info.
Change-Id: I69981b603526575758376695d7a5e9affd389dbe
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
Ananda Kishore [Wed, 19 Oct 2016 14:44:22 +0000 (20:14 +0530)]
sensors: ssc: add support to read SLPI fw name
Read SLPI fw name from device node to dynamically load the SLPI
fw image.
Change-Id: I9ecc0cc1b5de5e0bd47c658747463a4498123655
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
Sarada Prasanna Garnayak [Wed, 26 Oct 2016 07:37:28 +0000 (13:07 +0530)]
defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmfalcon
Enable CONFIG_ICNSS_DEBUG to enable driver debugging.
CRs-fixed:
1082440
Change-Id: I287761ce5b13dc139f59270dceac67cc9ae45cff
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Wed, 26 Oct 2016 07:46:57 +0000 (13:16 +0530)]
defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmcortex
Enable CONFIG_ICNSS_DEBUG to enable driver debugging.
CRs-fixed:
1082440
Change-Id: I6028d4a01ddfd8f8589a1de5322c2780d256d5bc
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Linux Build Service Account [Wed, 26 Oct 2016 08:10:43 +0000 (01:10 -0700)]
Merge "mdss: display-port: add support for hdcp 2.2"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:40 +0000 (01:10 -0700)]
Merge "icnss: Stay awake during recovery"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:39 +0000 (01:10 -0700)]
Merge "ASoC: wcd934X: Update TX gain correctly after decimator enable"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:39 +0000 (01:10 -0700)]
Merge "ASoC: wcd9335: Update TX gain correctly after decimator enable"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:36 +0000 (01:10 -0700)]
Merge "ARM: dts: msm: configure the WLED sink correctly for msmcobalt platforms"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:35 +0000 (01:10 -0700)]
Merge "clk: qcom: Remove non-op BRANCH_HALT_NO_CHECK_ON_DISABLE flag"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:34 +0000 (01:10 -0700)]
Merge "lpm-levels: Change _WARN_printf to pr_err when residency < 0"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:33 +0000 (01:10 -0700)]
Merge "clk: Check for failure at clk_change_rate"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:33 +0000 (01:10 -0700)]
Merge "ARM: dts: msm: update VDD_GFX CPR RO scaling factors for msmcobalt v2"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:32 +0000 (01:10 -0700)]
Merge "msm: vidc: Update log level for power collpase"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:31 +0000 (01:10 -0700)]
Merge "msm: vidc: Check ion_handle for errors"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:29 +0000 (01:10 -0700)]
Merge "iommu/arm-smmu: on domain destroy invlidate domain cfg"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:28 +0000 (01:10 -0700)]
Merge "msm: camera: sensor: Update CSI PHY setting for msmcobalt"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:27 +0000 (01:10 -0700)]
Merge "msm: camera: Restructure data handling to be more robust"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:26 +0000 (01:10 -0700)]
Merge "msm: camera: AV timer support for HAL3"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:25 +0000 (01:10 -0700)]
Merge "msm: sensor: Adding mutex for actuator power down operations"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:24 +0000 (01:10 -0700)]
Merge "msm_serial_hs: Add defensive checks due to sudden port close"
Lior Barenboim [Sun, 9 Oct 2016 08:47:28 +0000 (11:47 +0300)]
soc: qcom: add support for fingerprint sensor driver
The QBT1000 driver provides an API for communicating
with trustzone applications and handles firmware event
interrupts.
The driver supports the following features:
- loading and unloading trustzone applications
- sending commands to trustzone applications
- voting/un-voting for clocks before/after making
a trustzone call
- receiving firmware events, signalled by interrupts,
and providing them to the driver client
- sending a key event in response to firmware finger
detect events
Change-Id: I1d9d7a6b6bd2d3420a28a8c09868143bb9bd3b27
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
Vijayavardhan Vennapusa [Fri, 21 Oct 2016 09:32:09 +0000 (15:02 +0530)]
USB: dwc3-msm: Disable pipe clock requirement for HS/FS only mode
USB3 core expects pipe clock input for USB connection establishment
and functionality working. In case of maximum speed of USB3 core set
to HS/FS mode, it is required to disable pipe clock requirement and
instead use UTMI clock from HS PHY as clock input. Hence disable
this pipe clock requirement for the case, where maximum speed is set
to FS as well.
Change-Id: Ife9d6a16e1607b40c71eb1897947bf4645ac9561
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Subbaraman Narayanamurthy [Tue, 25 Oct 2016 23:40:39 +0000 (16:40 -0700)]
leds: qpnp-flash-v2: fix safety timer configuration
Safety timer is using an offset of 1ms whereas it should use
10ms. Fix the calculation to configure safety timer properly.
CRs-Fixed:
1076402
Change-Id: If06c421c559277066cf9ffd86e71fe366ab7bf8d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Tue, 25 Oct 2016 22:54:50 +0000 (15:54 -0700)]
leds: qpnp-flash-v2: fix ITARGET configuration
Currently, the code calculated to write to ITARGET based on the
brightness level or current is off by 2 bits. Fix it.
CRs-Fixed:
1079311
Change-Id: I58421ba7f784f7467015a5943aecc2dd0022145a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Linux Build Service Account [Wed, 26 Oct 2016 01:31:06 +0000 (18:31 -0700)]
Merge "coresight: tmc: skip tmc read if mem allocaiton failed"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:05 +0000 (18:31 -0700)]
Merge "sched: Set curr/prev_window_cpu pointers to NULL in sched_exit()"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:04 +0000 (18:31 -0700)]
Merge "soc: qcom: use interruptible wait_for_completion API"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:04 +0000 (18:31 -0700)]
Merge "ARM: dts: msm: enable VDD_GFX CPR aging adjustments for msmcobalt v2"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:03 +0000 (18:31 -0700)]
Merge "ASoC: msmcobalt: Add independent clock support on codec"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:02 +0000 (18:31 -0700)]
Merge "ASoC: wcd934x: Update CPR register defaults"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:01 +0000 (18:31 -0700)]
Merge "drivers: soc: Initialize return var to default value"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:00 +0000 (18:31 -0700)]
Merge "soc: qcom: Use a deferrable timer base for the msm watchdog"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:58 +0000 (18:30 -0700)]
Merge "qpnp-fg-gen3: Fix storing nominal capacity to actual capacity"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:57 +0000 (18:30 -0700)]
Merge "USB: pd: Fix compilation issues for 32 bit support"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ASoC: wcd9335: Fix register sequence for CPE configuration"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ASoC: msmcobalt: Add CPE ECPP DAI instance for ECPP path"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ARM: msm: dts: add second CPE session for msmcobalt"
Bhalchandra Gajare [Wed, 26 Oct 2016 00:50:29 +0000 (17:50 -0700)]
ASoC: wcd-dsp-mgr: fix restart logic when codec comes back online
During subsystem restart, when restart of the codec DSP is attempted,
the status is already moved to codec up whereas driver is checking
for codec down. This causes the initialization of components to be
skipped and codec dsp does not come back online. Change fixes the
condition check to make sure the correct sequence is followed.
CRs-Fixed:
1080392
Change-Id: I05345b8f5d108e59863ee4e37ed75fd32a284ee5
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Bhalchandra Gajare [Tue, 18 Oct 2016 20:18:15 +0000 (13:18 -0700)]
ASoC: wcd934x-dsp-cntl: fix memory enable/disable sequence
Enabling only the required memory for codec DSP helps reduce power
consumption with codec DSP is not used. Update the memory enable/
disable sequence such that the switchable memory domain is enabled
only when the codec DSP is being used.
CRs-Fixed:
1075303
Change-Id: I0552bf8a48c214b89e160fe4df145973f02c2788
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Olav Haugan [Tue, 25 Oct 2016 18:05:13 +0000 (11:05 -0700)]
sched: Fix compilation issue with reset_hmp_stats
reset_hmp_stats was moved to another file and when CONFIG_CFS_BANDWIDTH
is enabled there is code still referencing this in the original file
causing compilation error.
Change-Id: Iab7fc8551b628c443ce751026b06c5ff4ebba39a
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Olav Haugan [Tue, 25 Oct 2016 17:38:45 +0000 (10:38 -0700)]
sched/fair: Fix compilation issue
Code does not compile with CONFIG_CFS_BANDWIDTH.
Change-Id: Idb74e9df4fcb55085ac869f5ba273cef4a3eb9eb
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Subbaraman Narayanamurthy [Tue, 3 May 2016 00:59:40 +0000 (17:59 -0700)]
leds: qpnp-wled: Fix configuration of AVDD TRIM and OVP registers
Currently the AVDD TRIM registers are being configured incorrectly.
Update the sequence to configure the TRIM register and the OVP
register based on predetermined values mapped to the target voltage
specified in the device tree. Also add support for performing
masked writes to the wled registers.
CRs-Fixed:
1082047
Change-Id: I4c99b598d5f484368712eab239f7de70b727c2aa
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Fri, 21 Oct 2016 02:23:24 +0000 (19:23 -0700)]
leds: qpnp-wled: add a secure write API
Currently, for doing a secure write to the peripheral register,
secure access is acquired at the call site before writing to the
register. Optimize this by adding an API to do secure writes.
When a secure write is attempted, it should be atomic and not
raced with normal write. Add a mutex lock to synchronize the
normal and secure writes. While at it, fix the data parameter
passed to qpnp_wled_write_reg() as that doesn't really need a
pointer.
CRs-Fixed:
1082047
Change-Id: I6a678d9133b06dda2de1c6cfe4bbafacc594f299
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Thu, 20 Oct 2016 02:13:28 +0000 (19:13 -0700)]
leds: qpnp-wled: add support to read pmic revid
There are some features which needs to be enabled based on the
PMIC. PMIC information such as subtype, revision can be obtained
from revid peripheral. Hence add support to read pmic revid.
CRs-Fixed:
1082047
Change-Id: If0646f5ae111f75ababc405cbd2f7bcea899360e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>