diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 14:39:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 14:39:21 -0800 |
commit | 68b62e5d965a8cbcfa287ee7754cf06e9b3775ab (patch) | |
tree | 873bff0c72d1edb9d24aae7733b471f1e6721208 | |
parent | ffda81b69fce50f2543be99ef2d7c77dffc1ebc1 (diff) | |
parent | 8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6 (diff) |
Merge tag 'thermal-v5.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux
Pull thermal fixes from Daniel Lezcano:
- Fix a severe docs build failure for cpu idle cooling device (Randy
Dunlap)
- Fix a spelling mistake in the error message for the stm32 (Colin Ian
King)
* tag 'thermal-v5.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux:
thermal: stm32: fix spelling mistake "preprare" -> "prepare"
Documentation: cpu-idle-cooling: fix a SEVERE docs build failure
-rw-r--r-- | Documentation/driver-api/thermal/cpu-idle-cooling.rst | 5 | ||||
-rw-r--r-- | drivers/thermal/st/stm_thermal.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/driver-api/thermal/cpu-idle-cooling.rst b/Documentation/driver-api/thermal/cpu-idle-cooling.rst index e4f0859486c7..9f0016ee4cfb 100644 --- a/Documentation/driver-api/thermal/cpu-idle-cooling.rst +++ b/Documentation/driver-api/thermal/cpu-idle-cooling.rst @@ -65,6 +65,8 @@ We use a fixed duration of idle injection that gives an acceptable performance penalty and a fixed latency. Mitigation can be increased or decreased by modulating the duty cycle of the idle injection. +:: + ^ | | @@ -91,6 +93,8 @@ computed. The governor will change the cooling device state thus the duty cycle and this variation will modulate the cooling effect. +:: + ^ | | @@ -154,6 +158,7 @@ equation: P(opp)target = ((Trunning x (P(opp)running) + (Tidle x P(opp)idle)) / (Trunning + Tidle) + ... Tidle = Trunning x ((P(opp)running / P(opp)target) - 1) diff --git a/drivers/thermal/st/stm_thermal.c b/drivers/thermal/st/stm_thermal.c index 1cc5e6c5709e..ad9e3bf8fdf6 100644 --- a/drivers/thermal/st/stm_thermal.c +++ b/drivers/thermal/st/stm_thermal.c @@ -535,7 +535,7 @@ static int stm_thermal_probe(struct platform_device *pdev) /* Configure and enable HW sensor */ ret = stm_thermal_prepare(sensor); if (ret) { - dev_err(&pdev->dev, "Error preprare sensor: %d\n", ret); + dev_err(&pdev->dev, "Error prepare sensor: %d\n", ret); return ret; } |