Tags: pabloaul/linux
Tags
pogo: turn serdev_ready to atomic variable to prevent deadlock We are closing serdev on connect (if open), not on disconnect. There is a small possibility for MCU to send a message if it is physically disconnected and reconnected within a very short time. This is because there might just enough charge to keep the MCU running. At the same time the driver has initialized re-connection and tries to close serdev. In that situation the pogo lock is taken by fsm_entry_enumerate() while the tty lock is taken by pogo_onewire_receive_buf(). Then both functions try to take the other lock resulting in deadlock. At the same time serdev_ready should be 0. It is safe to check it without taking the lock and exit allowing fsm_entry_enumerate() to close and open serdev without deadlocking. Signed-off-by: Michal Koziel <michal.koziel@emlogic.no>
configs/zero-sugar_defconfig: disable precomposite gadget (#297) Disable precomposite gadget so that we can enable any gadget with configfs Enable initrd device to support rootfs for uuu Signed-off-by: Jun Nie <jun.nie@linaro.org> Co-authored-by: Jun Nie <jun.nie@linaro.org>
input: touch: parade: remove suspend/resume scan (#290) Parade states that scanning failures prevent the touch controller from self-calibrating during bootup. Therefore, Parade advice to remove pt_pip_suspend_() and pt_pip_resume_scanning_() in pt_core.c to avoid scanning failures
power: suspend: Fix undefined resleep_work issue When PM_RESLEEP_LOCK is not enabled, there is no resleep_work defined, causing compile error. Simply flag the related code. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
input: touch: parade: increase get HID timeout Sometimes the touch controller is not detected at boot. Parade states that sometimes self-calibration might kick in which can take up to 2000ms. They adviced to increase the timeout to 2500ms.
max77818: recover threshold values on resume The alert threshold values get sometime corrupted for an unknown reason. Some values can lead to alert interrupts being triggered which prevents the device to enter sleep. This patch mitigates this behaviour by setting the threshold registers to their initial values.
Merge pull request #227 from reMarkable/rm1xx_5.4.70_v1.2.x rm1xx 5.4.70 v1.2.x
dts/zero-sugar: max77818: disable max SOC alert The consequence of this patch is that the SOC hysteresis will be disabled and SOC min will remain set, even if SOC is below min. Warning! Once the min SOC threshold has been reached, max77818 will pull the interrupt line low and keep it low as long as SOC is below the min threshold. Signed-off-by: Michal Koziel <michal.koziel@emlogic.no>
ARM: dts: zero-gravitas: add minimal DT used for dump-capture kernel Introduced DT description with minimal features enabled, which will be used with dump-capture kernel. The dump-capture kernel mostly needs to boot and be able to save some crash related information to eMMC after which it will reboot the system. Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Initial 5.4 kernel upgrade to be used in Codex 3.1.6 release