From fe27f13d677ccd826386094df6977cfbc13ccf5e Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Mon, 20 Jan 2020 14:33:16 -0800 Subject: Documentation: cpu-idle-cooling: fix a SEVERE docs build failure Sphinx ('make htmldocs') stops with a SEVERE error: Sphinx parallel build error: SystemMessage: /home/rdunlap/lnx/next/linux-next-20200120/Documentation/driver-api/thermal/cpu-idle-cooling.rst:69: (SEVERE/4) Unexpected section title. ^ | so fix the .rst file so that the SEVERE build error does not happen. Also fix another minor formatting warning (unexpected unindent). Signed-off-by: Randy Dunlap Cc: Zhang Rui Cc: Daniel Lezcano Cc: Amit Kucheria Cc: linux-pm@vger.kernel.org Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/712c1152-56b5-307f-b3f3-ed03a30b804a@infradead.org --- Documentation/driver-api/thermal/cpu-idle-cooling.rst | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3-59-g8ed1b From 8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Thu, 30 Jan 2020 10:05:37 +0000 Subject: thermal: stm32: fix spelling mistake "preprare" -> "prepare" There is a spelling mistake in a dev_err error message. Fix it. Signed-off-by: Colin Ian King Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200130100537.18069-1-colin.king@canonical.com --- drivers/thermal/st/stm_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-59-g8ed1b