Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux

Pull thermal management fix from Zhang Rui:
"One patch to fix a problem that all Exynos SoCs will break at boot
time"

* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
thermal: exynos: fix: Check if data->tmu_read callback is present before read

+1 -1
+1 -1
drivers/thermal/samsung/exynos_tmu.c
··· 716 716 { 717 717 struct exynos_tmu_data *data = p; 718 718 719 - if (!data) 719 + if (!data || !data->tmu_read) 720 720 return -EINVAL; 721 721 722 722 mutex_lock(&data->lock);