Fork of reMarkable kernel https://github.com/reMarkable/linux
2c8b8ef501
This prevents a screen freeze bug. If the regulator checks the on-off bit at the same time as the thermal driver, the regulator_enable call will conclude that the regulator is already active. Then, when the thermal driver is done checking the temperature, it will set the PMIC back to the state it was when it started, which is off. In this state, the regulator driver believes the PMIC is on, and the thermal has turned it off. This can be considered a bit of a quick fix, to make minimal changes to the kernel at this point. The correct way to solve this would be to make the sy7636a_thermal driver use the regulator network, or moving all register access code into the sy7636a mfd and use a mutex from there. |
||
---|---|---|
Documentation | ||
arch | ||
block | ||
certs | ||
crypto | ||
drivers | ||
firmware | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.cocciconfig | ||
.get_maintainer.ignore | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
COPYING | ||
CREDITS | ||
Kbuild | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
README |
README
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.