projects
/
linux
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux]
/
drivers
/
thermal
/
samsung
/
exynos_tmu.c
diff --git
a/drivers/thermal/samsung/exynos_tmu.c
b/drivers/thermal/samsung/exynos_tmu.c
index
c24969d
..
a992e51
100644
(file)
--- a/
drivers/thermal/samsung/exynos_tmu.c
+++ b/
drivers/thermal/samsung/exynos_tmu.c
@@
-666,7
+666,7
@@
static int exynos_get_temp(void *p, int *temp)
struct exynos_tmu_data *data = p;
int value, ret = 0;
- if (!data || !data->tmu_read)
+ if (!data || !data->tmu_read
|| !data->enabled
)
return -EINVAL;
else if (!data->enabled)
/*