Searched hist:"4531 fa1684bb883ee01f1a182900b1e15d461b34" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | diff 4531fa1684bb883ee01f1a182900b1e15d461b34 Fri Feb 06 14:07:10 CET 2015 Lukasz Majewski <l.majewski@samsung.com> thermal: exynos: fix: Check if data->tmu_read callback is present before read
The exynos_tmu_data() function should on entrance test not only for valid data pointer, but also for data->tmu_read one. It is important, since afterwards it is dereferenced to get temperature code.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|