projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c707f97
)
thermal: mtk_thermal: make device_reset optional
author
Fabien Parent
<fparent@baylibre.com>
Wed, 21 Oct 2020 16:42:31 +0000
(18:42 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 27 Oct 2020 10:19:18 +0000
(11:19 +0100)
MT8516 does not support thermal reset. Use device_reset_optional
instead of device_reset.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/20201021164231.3029956-3-fparent@baylibre.com
drivers/thermal/mtk_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/mtk_thermal.c
b/drivers/thermal/mtk_thermal.c
index
0bd7aa5
..
149c6d7
100644
(file)
--- a/
drivers/thermal/mtk_thermal.c
+++ b/
drivers/thermal/mtk_thermal.c
@@
-1052,7
+1052,7
@@
static int mtk_thermal_probe(struct platform_device *pdev)
return -EINVAL;
}
- ret = device_reset(&pdev->dev);
+ ret = device_reset
_optional
(&pdev->dev);
if (ret)
return ret;