projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc011f
)
[COMMON] thermal: isp_cooling: Fix SVACE defect WGID 95373
author
Hyeonseong Gil
<hs.gil@samsung.com>
Tue, 7 Feb 2017 09:41:30 +0000
(18:41 +0900)
committer
Chungwoo Park
<cww.park@samsung.com>
Mon, 21 May 2018 08:18:25 +0000
(17:18 +0900)
Change-Id: I8acf12b4b8c85bd44b48c60e4df9f87db84c448e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/isp_cooling.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/thermal/isp_cooling.c
b/drivers/thermal/isp_cooling.c
index 4330e30a1ff5f919854f9e2e62b5e6926150c837..e8b2227082a61dd2b6c3ef6afa7c5fdf4ecf1d5c 100644
(file)
--- a/
drivers/thermal/isp_cooling.c
+++ b/
drivers/thermal/isp_cooling.c
@@
-181,7
+181,7
@@
static int get_property(unsigned int isp, unsigned long input,
if (property == GET_LEVEL && (unsigned int)input == fps) {
/* get level by fps */
- *output =
descend ? i : (max_level - i
);
+ *output =
(unsigned int)(descend ? i : (max_level - i)
);
return 0;
}
if (property == GET_FPS && level == i) {