Jiasheng Jiang
2e718389b9
power: reset: mt6397: Check for null res pointer
...
[ Upstream commit 1c1348bf056dee665760a3bd1cd30b0be7554fc2 ]
The return value of platform_get_resource() needs to be checked.
To avoid use of error pointer in case that there is no suitable
resource.
Fixes: d28c74c107
("power: reset: add driver for mt6323 poweroff")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn >
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-01-27 10:54:00 +01:00
Ran Bi
29ee40091e
rtc: mt6397: Add support for the MediaTek MT6358 RTC
...
This add support for the MediaTek MT6358 RTC. Driver using
compatible data to store different RTC_WRTGR address offset.
This replace RTC_WRTGR to RTC_WRTGR_MT6323 in mt6323-poweroff
driver which only needed by armv7 CPU without ATF.
Signed-off-by: Ran Bi <ran.bi@mediatek.com >
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com >
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Sebastian Reichel <sre@kernel.org >
Reviewed-by: Yingjoe Chen <yingjoe.chen@mediatek.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2020-05-21 08:55:48 +01:00
Josef Friedl
d28c74c107
power: reset: add driver for mt6323 poweroff
...
add poweroff driver for mt6323 and make Makefile and Kconfig-Entries
Suggested-by: Frank Wunderlich <frank-w@public-files.de >
Signed-off-by: Josef Friedl <josef.friedl@speed.at >
Signed-off-by: Frank Wunderlich <frank-w@public-files.de >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Acked-by: Sean Wang <sean.wang@mediatek.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2019-10-24 09:03:56 +01:00