From: "thermal-bot for Fabien Parent" <tip-bot2@linutronix.de>
To: linux-pm@vger.kernel.org
Cc: Fabien Parent <fparent@baylibre.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
rui.zhang@intel.com, amitk@kernel.org
Subject: [thermal: thermal/next] thermal: mtk_thermal: make device_reset optional
Date: Tue, 24 Nov 2020 09:36:39 -0000 [thread overview]
Message-ID: <160621059996.11115.2799274172961327015.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20201021164231.3029956-3-fparent@baylibre.com>
The following commit has been merged into the thermal/next branch of thermal:
Commit-ID: 703456ba76e9449b5ade6597c04a90ee3421cd94
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//703456ba76e9449b5ade6597c04a90ee3421cd94
Author: Fabien Parent <fparent@baylibre.com>
AuthorDate: Wed, 21 Oct 2020 18:42:31 +02:00
Committer: Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 27 Oct 2020 11:19:18 +01:00
thermal: mtk_thermal: make device_reset optional
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c
index 0bd7aa5..149c6d7 100644
--- 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;
next prev parent reply other threads:[~2020-11-24 9:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 16:42 [PATCH 1/3] dt-bindings: thermal: mediatek: make resets property optional Fabien Parent
2020-10-21 16:42 ` [PATCH 2/3] dt-bindings: thermal: mediatek: add documentation for MT8516 SoC Fabien Parent
2020-10-26 14:49 ` Rob Herring
2020-11-24 9:36 ` [thermal: thermal/next] " thermal-bot for Fabien Parent
2020-10-21 16:42 ` [PATCH 3/3] thermal: mtk_thermal: make device_reset optional Fabien Parent
2020-10-27 10:11 ` Matthias Brugger
2020-11-24 9:36 ` thermal-bot for Fabien Parent [this message]
2020-10-26 14:49 ` [PATCH 1/3] dt-bindings: thermal: mediatek: make resets property optional Rob Herring
2020-10-27 10:19 ` Daniel Lezcano
2020-11-24 9:36 ` [thermal: thermal/next] " thermal-bot for Fabien Parent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=160621059996.11115.2799274172961327015.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=amitk@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=fparent@baylibre.com \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox