| Commit message (Collapse) | Author | Age |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 66228430
Test: boot
Change-Id: Ib779822633f700a4378b8ea3293fc6f8cb9f7175
Signed-off-by: Wei Wang <wvw@google.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Doing so the device waits 5 seconds from the panic before rebooting
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Without this you can't test and reproduce a kernel panic...
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disable CONFIG_DEVPORT config for msm8996.
As selinux policy requires this node to be not
accessible to userspace.
CRs-Fixed: 2077590
Change-Id: I302d71a56764504ec246ddb6a98d8c07094846e4
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable CONFIG_SCHED_HMP_CSTATE_AWARE in order to optimize task
placement with CPUs C-state. This brings better system performance.
CRs-fixed: 1006303
Change-Id: I18e62015371143bca56396c747eaad3b22c5e3a3
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use per CPU NOCB threads to process RCU callbacks, rather than processing
the callbacks in softirq context. Processing large number of callbacks
in softirq context may result in delayed execution of other softirqs, so
remove processing of callbacks from softirq context.
Change-Id: I96faf1e5c8e786a2cb2410bb1265875410f74ae3
Signed-off-by: Imran Khan <kimran@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Remove QBT1000 as it isn't used
* Remove erratum fixes as they aren't needed
* Add a few configs for security
* Add CONFIG_INET_IPCOMP - for VPN
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change will enables and disables below list of configs in
defconfig and perf_deconfig to address the pop-up issue.
Enable configs:
CONFIG_HARDENED_USERCOPY
CONFIG_CRYPTO_GCM
CONFIG_IPV6_VTI
CONFIG_NET_IPVTI
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_USB_CONFIGFS_F_AUDIO_SRC
CONFIG_USB_CONFIGFS_F_MIDI
CONFIG_CP15_BARRIER_EMULATION
CONFIG_SETEND_EMULATION
Disable configs:
CONFIG_USELIB
Change-Id: I7135d8a41bd34018c3d8f7c2342b2c2a12a9e07b
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable support for app specific setting on MSM8996. This
is required for providing an interface so that app specific
settings can be applied / cleared.
CRs-Fixed: 981519
Change-Id: Ice69a77b40dbd98bfff0c8095d78a25424527a2f
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable FP(Floating Point) and SIMD settings required
during execution of AArch32 processes.
CRs-Fixed: 952837
Change-Id: I71c9294a59053aad2abfd359f9d3035cf493307a
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* We're not using this in 3.18 and it's useless for us
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Used in accessories with magnets to lock/unlock
device and etc.
4.4 Linux version.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
z2 has issues initializing it.
Lots and lots of messages like this in dmesg:
[ 51.109389] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109419] msm_thermal:hotplug_init_cpu_offlined Unable to read
TSENS sensor:-19.
[ 51.109423] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109426] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109429] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109431] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109434] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109437] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109439] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109442] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109445] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109447] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109450] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109453] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109455] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109458] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109461] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a helper node that can be used to notify user space through sysfs
node when fb device has not had any activity for a specified amount of
time (through idle_time node).
Bug: 62110101
Change-Id: I4dfa4b1a376149aa55a940dad7ac336ec99f1af8
Signed-off-by: Adrian Salido <salidoa@google.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For some reason it can randomly error on boot with message
[ 0.466725] gcc_mss_q6_bimc_axi_clk: status stuck off
*warning*
[ 0.468169] failed to enable always-on clock gcc_mss_q6_bimc_axi_clk
Fine... Let it not be always on.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* This has been added twice who knows when by CAF, most likely during an important merge
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The performance cluster can have frequency change requests ignored when
it comes online without having this flag set. This can result in the perfcl
running at its default frequency instead of the frequency that the CPU
governor wants.
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After a CPU comes online, clk_set_rate() silently refuses to change said CPU's
frequency to the frequency it was running at before going offline (since it
thinks that we are setting the same frequency redundantly). By default, each CPU
runs at its minimum frequency when coming online, so if the governor decides to
keep a CPU running at the frequency it used before going offline, then
clk_set_rate() will ignore the frequency change request and the CPU will stay
stuck running at its minimum frequency for a potentially long period of time
(i.e. until the governor decides to change the frequency to something
different). This can cause severe lag when a device is woken up from deep sleep.
In order to prevent a CPU from being stuck at its default frequency for a
potentially long period of time, set the CLKFLAG_NO_RATE_CACHE flag so that the
governor's frequency change requests will always be honored right after a CPU
comes online.
Note that this requires a CPU's component clocks to be using CLKFLAG_NO_RATE_CACHE
as well in order to fix the issue.
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8d2c8bed65a01eb0928308df638a04449a5bd881
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It has been claimed that the PG implementation of 'su' has security
vulnerabilities even when disabled. Unfortunately, the people that
find these vulnerabilities often like to keep them private so they
can profit from exploits while leaving users exposed to malicious
hackers.
In order to reduce the attack surface for vulnerabilites, it is
therefore necessary to make 'su' completely inaccessible when it
is not in use (except by the root and system users).
Change-Id: I79716c72f74d0b7af34ec3a8054896c6559a181d
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixes usb tethering
* Depends on https://github.com/DD3Boh/android_kernel_zuk_msm8996/commit/120991fe0830555988da869c6b4f0a518f301bc8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* We can just remove it from CONFIG_USB_F_GSI and keep it in CONFIG_USB_F_QCRNDIS as I can't get the first to build without the second but I can get the second to build without the first
* The same thing is for CONFIG_USB_CONFIGFS_RNDIS
* Fixes a build error because of the file being included twice
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
v4l2-ioctl.c triggers a warning in case the driver is not compliant
with the capabilities.
Change-Id: If231d20c1b3d1dc273da3687bf9396c2aa8be927
Signed-off-by: Jean-Baptiste Théou <jb@essential.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* This feature doesn't work on devices with old camera blobs
* Restore the previous behaviour without having to revert 10 commits
* Initial culprit commit: 39e7df335515c3f11859901d650d47ee983fcf6a
Change-Id: Iadb6bd78350768153bb00236d72907c9572cf119
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The return value check for function msm_sensor_driver_get_gpio_data
was wrong. Fix it.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I008b6bdf6861b07084bbac390f9280ce04e52763
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It _ruins_ ramoops logs.
[ 1.089832] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 8,
cb->name: :vfe sid [0] = 3072
,
[ 1.089843] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 8,
cb->name: :vfe sid [1] = 3073
[ 1.089843] ,CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 8,
cb->name: :vfe sid [2] = 3074
,
[ 1.089858] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 8,
cb->name: :vfe sid [3] = 3075
[ 1.089858] ,[ 1.090092] CAM-SMMU cam_smmu_populate_sids:2331
__debug cnt = 2, cb->name: :cpp sid [0] = 2560
,
[ 1.090286] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 2,
cb->name: :camera_fd sid [0] = 2561
,
[ 1.090482] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 2,
cb->name: :jpeg_enc0 sid [0] = 2048
,
[ 1.090674] CAM-SMMU cam_smmu_populate_sids:2331 __debug cnt = 2,
cb->name: :jpeg_dma sid [0] = 2049
,
[ 1.095134] CAM-SOC msm_camera_get_reg_base:864 err: mem resource
csiphy_clk_mux not found
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I124ed5023c34f4e90415d00fed154c97c89f48e7
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixes the camera lens clicking
* Thanks YaroST12 for the suggestion
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Striped version of https://github.com/YaroST12/Z2_PLUS_Kernel_EAS/commit/8d54fad0d22bd33ebebbbbed862b9dbaf4a1ff7a
Signed-off-by: YaroST12 <yaro330@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I2280d54fb6c51ad09b422f85c57dcbf34b835871
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Userspace expects msm_ispif_param_data_ext to have only 3
entries in it.
Squash of following commits:
commit e3a409b5e55f17a982c879db1a4ba23d8ed87cb4 (HEAD -> 4.4-eas-1.4)
Author: Yaroslav Furman <yaro330@gmail.com>
Date: Wed Jan 9 12:47:38 2019 +0300
Revert "msm: camera: ispif: adds 3D support"
This reverts commit cea9ac19b93db10dd5d40367d6b09d46f6dd8c3a.
commit 388522121977c93c1ec4f65c23740040a39c07ba
Author: Yaroslav Furman <yaro330@gmail.com>
Date: Wed Jan 9 12:46:56 2019 +0300
Revert "msm: camera: ispif: extend interface with line width"
This reverts commit cb9a11cd759f1d3348b0f3deb296eb415619d06f.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: Ib42061ad37fde64cec8c3ce17bb7947c51d055bd
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Squash of:
commit 9c909f4a62201b2ebb0ba56038d31bb85ae55d81
Author: Subhajeet Muhuri <kenny3fcb@gmail.com>
Date: Sun Oct 28 14:47:09 2018 +0100
Revert "msm: camera: Add laser LED support for depth sensor"
* "Camera error: Can't connect to the camera"
This reverts commit 63f5792c5c6a8de2e40a9eee1195dfa264ff9431.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit f7229d06853654871e970aa7bf604b01f38c3d37
Author: Subhajeet Muhuri <kenny3fcb@gmail.com>
Date: Thu Oct 11 20:21:32 2018 +0530
Revert "msm: camera: Bypass redundant creation of video node in stereo"
* Camera crashes upon launching
This reverts commit f977e44aeaf5da07338a4649caa45367461226f0.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit b0b964a9b6714ee4ff6af4e7f587f99921e3312a
Author: YaroST12 <yaro330@gmail.com>
Date: Sat Oct 6 18:36:18 2018 +0530
Revert "msm: cpp: Query buffer from buffer manager based on index"
* Breaks slow motion video recording
This reverts commit ddff1a93bac277b1a0ba14c601d5236c3c36365d.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit 5e1c739e4622428fa0b8fd9350946c31d2424b8e
Author: Davide Garberi <dade.garberi@gmail.com>
Date: Sun Oct 28 14:32:43 2018 +0100
Revert "msm: camera: Framedrop notification"
This reverts commit 5925180360bca209c21e9271e277caaca68bcad5.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit 0ef5dc40955cd7946f0a851feda516c34dc40d6d
Author: YaroST12 <yaro330@gmail.com>
Date: Sat Oct 6 18:31:20 2018 +0530
Revert "msm: camera: sensor: Adapting sensor driver to soc layer"
* Kernel panics at boot
This reverts commit 6b99b4c9a1706f8f7f1745af97e0f4bddecf168b.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit 1da8c59614f005d524455147fd78fc5f32cfa33b
Author: Subhajeet Muhuri <kenny3fcb@gmail.com>
Date: Fri Oct 5 12:24:29 2018 +0530
Revert "msm: camera: sensor: Updating soc layer clock API for i2c drivers"
* Required for the proper revert of 6b99b4c
This reverts commit a4663702036e6b0ae9b82691027d9913d65d7a02.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit 1b138397ea01ae70f653baf6c812fb5748b3783b
Author: Subhajeet Muhuri <kenny3fcb@gmail.com>
Date: Sat Oct 6 18:19:19 2018 +0530
Revert "msm: camera: Add regulator enable and disable independent of CSID"
* Required for the proper revert of 6b99b4c
This reverts commit fd39134867896ec5c28ce348816e31e7785e06ba.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
commit 12e0c65509260092e8c3f22717080427a78c9469
Author: Subhajeet Muhuri <kenny3fcb@gmail.com>
Date: Sat Oct 6 18:16:32 2018 +0530
Revert "msm: camera: Add regulator enable and disable in csiphy"
* Required for the proper revert of 6b99b4c
This reverts commit d3e47e331617af3c87138bd205e65c6fa1a1bca7.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: Iaa6aa22bb518b930141092fab9f51567c7eae092
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Add androidboot.mode=charger
* Based on sultanxda/android_kernel_oneplus_msm8996@abc05b16bbd33521c2fffaf491c5657a94bfcfc5
* Fix offline charging with older basebands
* It's androidboot.mode not androidboot.bootmode=usb_chg
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There are some replacement batteries that have higher than 100 kohm.
They are """fine""" to use since they have the same capacity and
seem to have the same name as the latest battery revision for Z2 from
lenovo. Let's allow people to use those batteries.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Change-Id: I2605d127e0b0a80b469fdfb6519c19dc25f05569
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Partial cherry-pick of https://github.com/YaroST12/Z2_PLUS_Kernel_EAS/commit/183c40ac661a93077dbf3eb491f4d955c99a1b18
Signed-off-by: yarost12 <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Without this the battery is sometimes being reported as charged when it is at 98% or 99%
Change-Id: I81e70d1a044c642716b3a920b49f8583c083d4a5
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Apparently the z2_plus doesn't support this
* Thanks YaroST12 for the suggestion
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I820a7eac25c8a437d40885dd36577ccb218e36a0
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Using soc_to_setpoint function to determine DELTA_SOC value is
resulting into a value of 3, which sometimes causes the battery
percentage to instantly drop 2% instead of 1%
Change-Id: I56156a51dbd8c67e362fce28e408234bbf6211cb
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If power supply type is POWER_SUPPLY_TYPE_UNKNOWN at
bootup, some userspace apps, such as heathd, fail to
parse power supply properties. So, set power supply type
to USB when the charger is not plugged during bootup.
Change-Id: Iad3881b0fadb36ace6e5f2de6eaeac11f33a532c
Signed-off-by: dukwung.kim <dukwung.kim@lge.com>
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* /sys/class/power_supply/battery/current_now wasn't being updated unless device is booted with USB cable connected.
Change-Id: Ie55a56943970313b7d6680f8f6c46bc838d40ab6
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Re-apply in the new directories for 4.4
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the led request the PWM mode and the initial mode is PWM
when change the led pwm mode, it will fail to change pwm mode
for no mode change with a uninitialized return code and cause
the LED configuration failing
Change-Id: I29ba3823fb7b4f0d1b2a0d9f22c464c94fbe9717
Signed-off-by: yanyh2 <yanyh2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1072946
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Coverity Analysis <coverity@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
The haptics driver in msm8996 4.4 tag wants an int and 1 = ERM.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Thanks tbalden
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibe4d8f8f8c9dbb89434cd633a049bd9e216af6f4
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
<1>[ 1162.200140] Unable to handle kernel NULL pointer dereference at virtual address 000006a8
<1>[ 1162.200180] pgd = ffffff8009cd7000
<1>[ 1162.200199] [000006a8] *pgd=00000001bd8be003, *pud=00000001bd8be003,
*pmd=0000000000000000
<4>[ 1162.200328] ------------[ cut here ]------------
<2>[ 1162.200345] Kernel BUG at ffffff80085306a8 [verbose debug info unavailable]
<0>[ 1162.200364] Internal error: Oops - BUG: 96000005 [#1] PREEMPT SMP
<4>[ 1162.200395] CPU: 2 PID: 44 Comm: kworker/2:1 Tainted: G W
4.4.176-F1xy-Row-rebase-3/7f005844b7 #74
<4>[ 1162.200412] Hardware name: Qualcomm Technologies, Inc. MSM 8996 v3 + PMI8996 MTP (DT)
<4>[ 1162.200458] Workqueue: pm pm_runtime_work
<4>[ 1162.200483] task: ffffffc17586ec00 task.stack: ffffffc175a38000
<4>[ 1162.200509] PC is at mdss_fb_idle_pc+0x0/0x4c
<4>[ 1162.200537] LR is at mdss_mdp_footswitch_ctrl+0x1f8/0x474
<4>[ 1162.200554] pc : [<ffffff80085306a8>] lr : [<ffffff800849ee5c>] pstate: 80000145
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* This is needed to make the display turn on after turning it off
* All of this isn't needed at all on z2_plus
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixes
drivers/input/misc/vibrator/drv2605l.c: In function 'drv2605l_probe':
drivers/input/misc/vibrator/drv2605l.c:979:39: error: too few arguments to function 'devm_gpiod_get'
haptics->platform_data.enable_gpio = devm_gpiod_get(&client->dev, "enable");
* Vibration doesn't work on row even with this commit
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibe196b420b37040b4abeabab101f4cf867f8d333
Signed-off-by: dd3boh <dade.garberi@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|