OSDN Git Service
Satya Durga Srinivasu Prabhala [Mon, 16 Jan 2017 18:37:08 +0000 (10:37 -0800)]
soc: qcom: service-notifier: fix object corruption
Below object corruption observed from service-notifier while executing
WLAN PDR tests. While executing WLAN PDR tests, Modem crashed, which
resulted into use after free condition. Add mutex lock to fix the issue.
===============================================
BUG kmalloc-1024 (Tainted: G W O ): \
Poison overwritten
-----------------------------------------------
INFO: 0xffffffc0ba5c4d30-0xffffffc0ba5c4d3a. \
First byte 0xff instead of 0x6b
INFO: Allocated in qmi_handle_create+0x4c/0x320 \
age=80203 cpu=0 pid=27134
alloc_debug_processing+0x124/0x178
___slab_alloc.constprop.62+0x4ec/0x5d0
__slab_alloc.isra.59.constprop.61+0x48/0x74
kmem_cache_alloc_trace+0xd4/0x25c
qmi_handle_create+0x4c/0x320
root_service_service_arrive+0x3c/0x1e8
process_one_work+0x234/0x40c
worker_thread+0x2e0/0x410
kthread+0xf4/0xfc
ret_from_fork+0x10/0x40
INFO: Freed in qmi_handle_destroy+0x154/0x16c \
age=50 cpu=1 pid=22765
free_debug_processing+0x27c/0x354
__slab_free+0x74/0x3ac
kfree+0x21c/0x290
qmi_handle_destroy+0x154/0x16c
root_service_service_exit+0xf0/0x110
ssr_event_notify+0x74/0x84
notifier_call_chain+0x58/0x8c
__srcu_notifier_call_chain+0x9c/0xc0
srcu_notifier_call_chain+0x38/0x44
subsys_notif_queue_notification+0x40/0x54
notify_each_subsys_device.isra.9+0x18c/0x1b0
subsystem_restart_wq_func+0x2f4/0x5a8
process_one_work+0x234/0x40c
worker_thread+0x2e0/0x410
kthread+0xf4/0xfc
ret_from_fork+0x10/0x40
Change-Id: Iebc0871220547c2d6f026db1dffafe30b854b199
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Linux Build Service Account [Tue, 10 Jan 2017 20:27:12 +0000 (12:27 -0800)]
Merge "msm: camera: fd: Call fd buffer done on active buffer"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:11 +0000 (12:27 -0800)]
Merge "drm/msm/dsi-staging: add dsi definitions for new dsi driver"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:10 +0000 (12:27 -0800)]
Merge "ASoC: msm8996: Fix kernel crash in "Speaker Function" mixer control"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:09 +0000 (12:27 -0800)]
Merge "ARM: dts: msm: add audio support for sdm660 qrd skus"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:08 +0000 (12:27 -0800)]
Merge "ASoC: msm-cpe-lsm: cleanup ioctl functions"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:07 +0000 (12:27 -0800)]
Merge "ASoC: msm: Add support for INT5_MI2S vi feedback"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:07 +0000 (12:27 -0800)]
Merge "ARM: dts: msm: add audio device node for qrd msm8998 interposer"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:06 +0000 (12:27 -0800)]
Merge "ARM: dts: msm: Add pinctrl for USB type-C analog audio on msm8998"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:05 +0000 (12:27 -0800)]
Merge "clk: qcom: Add support to register GPU rbcpr clocks"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:04 +0000 (12:27 -0800)]
Merge "ARM: dts: msm: enable blink for RGB led"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:03 +0000 (12:27 -0800)]
Merge "qpnp-pin: Fix null pointer access in qpnp_pin_debugfs_create()"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:03 +0000 (12:27 -0800)]
Merge "security: switched to stackable model for PFT/PFK module"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:02 +0000 (12:27 -0800)]
Merge "clk: qcom: Fix clocks which are required to be always on"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:01 +0000 (12:27 -0800)]
Merge "msm: sps: add the checking of userspace input length"
Taniya Das [Sun, 8 Jan 2017 11:18:26 +0000 (16:48 +0530)]
clk: qcom: Add support to register GPU rbcpr clocks
GPU RBCPR clocks needs to registered separately, as GFX CPR would require
the rbcpr clocks to register the regulator handle.
Change-Id: I59def76e7dd69600be8faf47eb867a97ab04739e
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Taniya Das [Mon, 9 Jan 2017 12:17:39 +0000 (17:47 +0530)]
clk: qcom: Fix clocks which are required to be always on
Following are the changes made:
1. Add CLK_IGNORE_UNUSED flag for some clocks which are not
supposed to be disabled at late_init_level.
2. Fix clock measure debug mux value for mmcc clocks.
3. Add mmss_mdss_byte1_intf_div_clk for mdp.
4. Fix usb ref clocks to branch voted.
Change-Id: I06396c73f7855acfac283abe576e0b4cc1a92bd5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Linux Build Service Account [Tue, 10 Jan 2017 07:59:49 +0000 (23:59 -0800)]
Merge "ARM: dts: msm: Enable blsp2_uart1_hs for sdm660 QRD"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:48 +0000 (23:59 -0800)]
Merge "ARM: dts: msm: Add support for A540 710MHz on msmcobaltv2"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:47 +0000 (23:59 -0800)]
Merge "common: DMA-mapping: add per-buffer coherent mappings attributes"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:46 +0000 (23:59 -0800)]
Merge "iommu/arm-smmu: support querying IOVA coherency"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:46 +0000 (23:59 -0800)]
Merge "iommu: support querying IOVA coherency"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:45 +0000 (23:59 -0800)]
Merge "iommu/io-pgtable-arm: support querying IOVA coherency"
Linux Build Service Account [Tue, 10 Jan 2017 07:59:38 +0000 (23:59 -0800)]
Merge "msm: mdss: Fix dynamic refresh sequence"
cyizhao [Thu, 5 Jan 2017 08:26:14 +0000 (16:26 +0800)]
ARM: dts: msm: enable blink for RGB led
Add PWM parameters to blink the RGB LED.
CRs-Fixed:
1106886
Change-Id: I2e4c67ffc7adbab887ae417c9c46bca786936cd1
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Subbaraman Narayanamurthy [Mon, 9 Jan 2017 23:13:23 +0000 (15:13 -0800)]
qpnp-pin: Fix null pointer access in qpnp_pin_debugfs_create()
qpnp_pin_debugfs_create() is going through all the child nodes
to create debugfs entries whereas the allocation for q_spec is
made only for available child nodes. This leads to a null pointer
access when CONFIG_GPIO_QPNP_PIN_DEBUG is selected in defconfig.
Fix it by using number of gpios available under each gpio chip
which was populated from the available child count already.
Change-Id: I17cbeeba158d34180763087103da4b03e01f7c90
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Oleg Perelet [Wed, 9 Nov 2016 00:30:27 +0000 (16:30 -0800)]
ARM: dts: msm: Add support for A540 710MHz on msmcobaltv2
Add 710MHz to A540 GPU power level on msmcobaltv2 as per
the hardware recommendation.
CRs-Fixed:
1085733
Change-Id: Iceff8329caf939ad3b34d6a750f056026853c76a
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
Linux Build Service Account [Mon, 9 Jan 2017 20:42:41 +0000 (12:42 -0800)]
Merge "usb: gadget: Fix null pointer crash issue in gsi_free_inst"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:41 +0000 (12:42 -0800)]
Merge "sched: add the max_freq comparing for evaluating the mitigation"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:40 +0000 (12:42 -0800)]
Merge "ARM: dts: msm: Enable early firmware loading for SDM660"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:39 +0000 (12:42 -0800)]
Merge "ARM: dts: msm: Change the resource name for LPI CX/MX regulators"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:38 +0000 (12:42 -0800)]
Merge "sched: fix stale predicted load in trace_sched_get_busy()"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:37 +0000 (12:42 -0800)]
Merge "ASoC: msm: Remove DOLBY_DAP config from sdm660"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:37 +0000 (12:42 -0800)]
Merge "qpnp-qnovo: Remove dependency on adapter current limit"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:36 +0000 (12:42 -0800)]
Merge "thermal: tsens: Switch from usleep_range() to msleep"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:35 +0000 (12:42 -0800)]
Merge "coresight: fix spinlock corruption issue"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:34 +0000 (12:42 -0800)]
Merge "msm: kgsl: Remove BUG_ON from the map global"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:33 +0000 (12:42 -0800)]
Merge "timers: Fix documentation for schedule_timeout() and similar"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:33 +0000 (12:42 -0800)]
Merge "timers: Fix usleep_range() in the context of wake_up_process()"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:32 +0000 (12:42 -0800)]
Merge "timers: Plug locking race vs. timer migration"
Linux Build Service Account [Mon, 9 Jan 2017 20:42:26 +0000 (12:42 -0800)]
Merge "msm: camera: isp: Update UB Size for SDM660"
Phani Kumar Uppalapati [Fri, 2 Dec 2016 19:32:32 +0000 (11:32 -0800)]
ARM: dts: msm: Add pinctrl for USB type-C analog audio on msm8998
Add pinctrl configuration in device tree to support USB type-C
analog audio on msm8998 target.
CRs-Fixed:
1102048
Change-Id: I8d531ecb8bf267ddcc1cd0702c62728dd6317118
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Anirudh Ghayal [Mon, 9 Jan 2017 09:35:49 +0000 (15:05 +0530)]
ARM: dts: msm: Change the resource name for LPI CX/MX regulators
SDM660 has LPI (and not SSC) which uses "rwlc" and "rwlm"
as the regulator resource names. Use the same.
Change-Id: I88038d0b7ae5b73e03154cf0d03c16a2fd69fc5e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Linux Build Service Account [Mon, 9 Jan 2017 09:32:27 +0000 (01:32 -0800)]
Merge "arm64: Add TLB conflict fault handler"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:26 +0000 (01:32 -0800)]
Merge "ARM: dts: msm: Change FG cut-off voltage to 3.7V for SDM660 QRD"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:25 +0000 (01:32 -0800)]
Merge "msm: sde: Update rotator OT settings for sdm660"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:24 +0000 (01:32 -0800)]
Merge "msm: mdss: Avoid incorrect status while parsing dsi topology"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:23 +0000 (01:32 -0800)]
Merge "msm: mdss: Reset compression config after dynamic DSC off"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:22 +0000 (01:32 -0800)]
Merge "ARM: dts: msm: Allocate memory for diag client for SDM630"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:18 +0000 (01:32 -0800)]
Merge "ASoC: msm: Fix kernel crash in core_set_license"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:17 +0000 (01:32 -0800)]
Merge "drivers: soc: qcom: Add overflow check for sound model size"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:16 +0000 (01:32 -0800)]
Merge "scsi: ufs: Add clock ungating to a separate workqueue"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:15 +0000 (01:32 -0800)]
Merge "clk: msm: clock-gcc-8998: keep gcc_bimc_gfx_clk on"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:11 +0000 (01:32 -0800)]
Merge "ARM: dts: msm: Specify the interrupts properly for haptics on pm660"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:11 +0000 (01:32 -0800)]
Merge "ARM: dts: msm: Specify the interrupts properly for haptics on pmi8998"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:10 +0000 (01:32 -0800)]
Merge "qcom-charger: Fix crash due to null ptr access of pl psy"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:09 +0000 (01:32 -0800)]
Merge "qcom-charger: typec legacy cable detection"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:08 +0000 (01:32 -0800)]
Merge "lpm-levels: Do not consider cluster residency in suspend"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:08 +0000 (01:32 -0800)]
Merge "mmc: core: Enable HS mode first in the device and then in the host"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:07 +0000 (01:32 -0800)]
Merge "clk: msm: clock-osm: remove ioremaps from panic callback"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:06 +0000 (01:32 -0800)]
Merge "qpnp-fg-gen3: show 0 time to full at 100% SOC"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:05 +0000 (01:32 -0800)]
Merge "pmic-voter: Allow forcing a value via debug interface"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:04 +0000 (01:32 -0800)]
Merge "ASoC: msm: qdsp6v2: DAP: Add check to validate param length"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:04 +0000 (01:32 -0800)]
Merge "msm: vidc: enable passive buses while unload firmware"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:03 +0000 (01:32 -0800)]
Merge "ASoC: msm: qdsp6v2: add route for secondary MI2S TX hostless capture"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:02 +0000 (01:32 -0800)]
Merge "msm: cpp: Use regulator APIs for gdsc reg access"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:01 +0000 (01:32 -0800)]
Merge "msm: camera-v2: vpe: Add check to prevent index out of bounds"
Linux Build Service Account [Mon, 9 Jan 2017 09:32:01 +0000 (01:32 -0800)]
Merge "ARM: dts: msm: Add actuator node to camera1 node for 8998"
Andrey Markovytch [Mon, 9 Jan 2017 09:23:03 +0000 (11:23 +0200)]
security: switched to stackable model for PFT/PFK module
Moved hooks from SELINUX framework to general SECURITY framework.
Change-Id: I37e701b4925c4993f724c32b258c5088f4dcbe4d
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Chandana Kishori Chiluveru [Fri, 30 Dec 2016 11:56:09 +0000 (17:26 +0530)]
usb: gadget: Fix null pointer crash issue in gsi_free_inst
If misc register failed then there is a chance for accessing the
null pointer in gsi_free_inst function and leads to target crash.
Hence add the change to handle the same.
Change-Id: Iaa3f7db1403ca2d87f259dec109912c5437c24f4
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
cyizhao [Tue, 3 Jan 2017 12:10:17 +0000 (20:10 +0800)]
ARM: dts: msm: Change FG cut-off voltage to 3.7V for SDM660 QRD
SDM660 QRD device will use Groot V1.0 device which would reset
when VPH_PWR and VBOB crossover, this causes the MSM to reset and
a device reboot. Set cut-off voltage to 3.7V to avoid this happen
but this will lose some battery capacity as the penalty.
CRs-Fixed:
1107239
Change-Id: Idae459e036089fa1161d8dd81c33dc393deac3aa
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Walter Yang [Tue, 3 Jan 2017 08:01:41 +0000 (16:01 +0800)]
ARM: dts: msm: add audio support for sdm660 qrd skus
Add support for required node for audio of sdm660 qrd skus
with tasha codec.
CRs-Fixed:
1106852
Change-Id: If61b6669ce7a22eb02c044ced240da00e1069bdf
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
zhenchao [Tue, 3 Jan 2017 03:43:43 +0000 (11:43 +0800)]
ARM: dts: msm: Enable blsp2_uart1_hs for sdm660 QRD
Enable blsp2_uart1 for WCN3990 for sdm660 QRD to use high
speed UART driver for bluetooth HCI interface.
CRs-Fixed:
1106765
Change-Id: I27aee84ce0f68a25181eeeb9f2404adbaf7d3600
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
cyizhao [Tue, 3 Jan 2017 11:55:22 +0000 (19:55 +0800)]
ARM: dts: msm: Set WLED string number for SDM660 QRD
Specify the number of strings in WLED properly according to hardware
connection.
CRs-Fixed:
1108198
Change-Id: I39d3a0ba05a78d0d3204ffb56df64830d0fdedce
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Linux Build Service Account [Mon, 9 Jan 2017 00:32:11 +0000 (16:32 -0800)]
Merge "drm/msm: remove clock framework dependency"
Prasad Sodagudi [Sat, 31 Dec 2016 19:00:32 +0000 (11:00 -0800)]
arm64: Add TLB conflict fault handler
Add TLB conflict fault handler and try to handle
gracefully. Check whether TLB fault can be handled
by EL2 and cause panic if EL2 is not able to handle.
Change-Id: I276ec5413411932bd8a67ed4c85ebbf66f4affcf
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Linux Build Service Account [Sun, 8 Jan 2017 16:05:54 +0000 (08:05 -0800)]
Merge "defconfig: msm: compile video drivers as builtins"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:53 +0000 (08:05 -0800)]
Merge "ASoC: wcd934x: Fix out of bounds for mad input value"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:52 +0000 (08:05 -0800)]
Merge "drivers: mfd: Add support for direct apps interrupt"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:51 +0000 (08:05 -0800)]
Merge "ARM: dts: msm: add a new panel driver for sdm660 QRD"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:50 +0000 (08:05 -0800)]
Merge "ARM: dts: msm: Enable volume up key for qrd sdm660"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:46 +0000 (08:05 -0800)]
Merge "qseecom: Rename clock handle names"
Linux Build Service Account [Sun, 8 Jan 2017 07:00:03 +0000 (23:00 -0800)]
Merge "msm: cpp: Fix for integer overflow in cpp"
Linux Build Service Account [Sat, 7 Jan 2017 21:44:17 +0000 (13:44 -0800)]
Merge "media: dvb-core: Fix for dvb_ringbuffer merge conflict"
Linux Build Service Account [Sat, 7 Jan 2017 21:44:16 +0000 (13:44 -0800)]
Merge "msm: isp: Handle ping pong mismatch error"
Linux Build Service Account [Sat, 7 Jan 2017 13:24:01 +0000 (05:24 -0800)]
Merge "input: move qpnp-power-on driver into input/misc directory"
Linux Build Service Account [Sat, 7 Jan 2017 13:24:01 +0000 (05:24 -0800)]
Merge "ARM: dts: msm: Add support for pwr/perf supply for sdm660"
Linux Build Service Account [Sat, 7 Jan 2017 13:23:57 +0000 (05:23 -0800)]
Merge "spcom: free all SKP ION buffers on SSR"
Linux Build Service Account [Sat, 7 Jan 2017 13:23:56 +0000 (05:23 -0800)]
Merge "clk: qcom: osm: remove ioremaps from panic callback"
John zhao [Fri, 6 Jan 2017 08:28:39 +0000 (16:28 +0800)]
sched: add the max_freq comparing for evaluating the mitigation
trace_sched_get_task_cpu_cycles traces max_freq during the tracing of
OSM cycle considering mitigated such as thermal etc.
Change-Id: If134630e293ceaf8faf2aa0ed7d4cfdfe7b3a4d6
CRs-Fixed:
1108711
Signed-off-by: John zhao <yuankuiz@codeaurora.org>
Pavankumar Kondeti [Wed, 4 Jan 2017 08:40:31 +0000 (14:10 +0530)]
sched: fix stale predicted load in trace_sched_get_busy()
When early detection notification is pending, we skip calculating
predicted load. Initialize it to 0 so that stale value does not
get printed in trace_sched_get_busy().
Change-Id: I36287c0081f6c12191235104666172b7cae2a583
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Manikanta Sivapala [Fri, 6 Jan 2017 12:34:22 +0000 (18:04 +0530)]
defconfig: msm: compile video drivers as builtins
Video kernel modules as LKM make the T32 debugging difficult.
So, make video drivers as part of boot image.
Change-Id: I229eba78f883d7656ac1bd64487dccc70bb0d43c
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Manikanta Sivapala [Fri, 6 Jan 2017 13:19:59 +0000 (18:49 +0530)]
ARM: dts: msm: Enable early firmware loading for SDM660
This will ensure that the FW is always loaded and will
save the load time.
CRs-Fixed:
1103405
Change-Id: I40341f50852fb1df418c72fd0fa952af5670be23
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Siddartha Mohanadoss [Thu, 5 Jan 2017 02:25:54 +0000 (18:25 -0800)]
thermal: tsens: Switch from usleep_range() to msleep
On certain cases we have seen usleep_range() return before
the intended minimum time parameter passed to this function.
There is no protection against wakeups and we may return
early. msleep() already has code to handle this cases since
it loops as long as there is still time.
Change-Id: I3cf1e2d7f61f5a6d42d66afb86ae3b3fe141a9e7
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
David Collins [Thu, 5 Jan 2017 21:03:36 +0000 (13:03 -0800)]
input: move qpnp-power-on driver into input/misc directory
Move the qpnp-power-on driver from the drivers/input directory
into the drivers/input/misc directory. This is the standard
location where other power key drivers are kept.
Also make a small fix to use octal instead of symbolic
permissions for the ship_mode_en module parameter.
Change-Id: I4d80c2ca0f161bd443dbfe0fcef822459c9fe44b
Signed-off-by: David Collins <collinsd@codeaurora.org>
Yan He [Wed, 2 Nov 2016 18:51:10 +0000 (11:51 -0700)]
msm: sps: add the checking of userspace input length
Add the checking of the input length from userspace so kernel space
will not copy any content outside the input buffer.
Change-Id: I3cef834ed1df836356ba40e6e950a534ec49819d
Signed-off-by: Yan He <yanhe@codeaurora.org>
Linux Build Service Account [Fri, 6 Jan 2017 16:11:50 +0000 (08:11 -0800)]
Merge "ARM: dts: msm: Add an entry to the Silver memlat table for msm8998"
Abhijeet Dharmapurikar [Thu, 5 Jan 2017 03:18:32 +0000 (19:18 -0800)]
qpnp-qnovo: Remove dependency on adapter current limit
Currently enabling of Qnovo isn't allowed unless a charger with
minimum 1A current limit is detected. This is not required.
Allow enabling of Qnovo regardless of the charger current limit.
Change-Id: I1726423d3bc31725c162f09b907683d6e63ac6b5
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Taniya Das [Mon, 26 Dec 2016 08:49:03 +0000 (14:19 +0530)]
ARM: dts: msm: Add support for pwr/perf supply for sdm660
OSM cpu clocks would require the supply rails on which power and perf
clusters are connected, so add the same.
Change-Id: Ie5e50dff1c3c5b06585d03abb45ff493779f029d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
cyizhao [Tue, 3 Jan 2017 07:48:44 +0000 (15:48 +0800)]
ARM: dts: msm: Enable volume up key for qrd sdm660
GPIO7 is used for volume up key on qrd sdm660 device.
Configure it to input and pull-up and add gpio-keys device to
enable the key detection.
CRs-Fixed:
1108198
Change-Id: I9ef323088e478aa2fd35858d256edb041da6f385
Signed-off-by: cyizhao <cyizhao@codeaurora.org>