Commit f5e25f0d authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'next' of git://

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

* 'next' of git://
  thermal: exynos: fix: Check if data->tmu_read callback is present before read
parents d34696c2 4531fa16
...@@ -716,7 +716,7 @@ static int exynos_get_temp(void *p, long *temp) ...@@ -716,7 +716,7 @@ static int exynos_get_temp(void *p, long *temp)
{ {
struct exynos_tmu_data *data = p; struct exynos_tmu_data *data = p;
if (!data) if (!data || !data->tmu_read)
return -EINVAL; return -EINVAL;
mutex_lock(&data->lock); mutex_lock(&data->lock);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment