- Jul 04, 2024
-
-
Neil Armstrong authored
If the thermal core tries to update the temperature from an uninitialized power supply, it will swawn the following warning: thermal thermal_zoneXX: failed to read out thermal zone (-19) But reading from an uninitialized power supply should not be considered as a fatal error, but the thermal core expects the -EAGAIN error to be returned in this particular case. So convert -ENODEV as -EAGAIN to express the fact that reading temperature from an uninitialized power supply shouldn't be a fatal error, but should indicate to the thermal zone it should retry later. It notably removes such messages on Qualcomm platforms using the qcom_battmgr driver spawning warnings until the aDSP firmware gets up and the battery manager reports valid data. Link: https://lore.kernel.org/all/2ed4c630-204a-4f80-a37f-f2ca838eb455@linaro.org/ Fixes: 5bc28b93 ("power_supply: power_supply_read_temp only if use_cnt > 0") Fixes: 3be330bf ("power_supply: Register battery as a thermal zone") Signed-off-by:
Neil Armstrong <neil.armstrong@linaro.org>
-
- Jul 02, 2024
-
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
-
-
-
-
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.gitStephen Rothwell authored
# Conflicts: # arch/alpha/kernel/syscalls/syscall.tbl # arch/arm/tools/syscall.tbl # arch/arm64/include/asm/unistd.h # arch/arm64/include/asm/unistd32.h # arch/m68k/kernel/syscalls/syscall.tbl # arch/microblaze/kernel/syscalls/syscall.tbl # arch/mips/kernel/syscalls/syscall_n32.tbl # arch/mips/kernel/syscalls/syscall_n64.tbl # arch/mips/kernel/syscalls/syscall_o32.tbl # arch/parisc/kernel/syscalls/syscall.tbl # arch/powerpc/kernel/syscalls/syscall.tbl # arch/s390/kernel/syscalls/syscall.tbl # arch/sh/kernel/syscalls/syscall.tbl # arch/sparc/kernel/syscalls/syscall.tbl # arch/x86/entry/syscalls/syscall_32.tbl # arch/x86/entry/syscalls/syscall_64.tbl # arch/xtensa/kernel/syscalls/syscall.tbl # include/uapi/asm-generic/unistd.h # mm/rmap.c
-
git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.gitStephen Rothwell authored
# Conflicts: # lib/fortify_kunit.c
-
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.gitStephen Rothwell authored
# Conflicts: # mm/memblock.c
-
-
-
-
-
Stephen Rothwell authored
Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
-
Stephen Rothwell authored
Merge branch 'renesas-pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
-
-
-
-
-