Hi Krzysztof,
Thanks for your reply.
On 2024/9/3 22:04, Krzysztof Kozlowski wrote:
[ EXTERNAL EMAIL ]
On 03/09/2024 09:00, Xianwei Zhao via B4 Relay wrote:
From: Yiting Deng <yiting.deng@xxxxxxxxxxx>
...
+ rtc->map = devm_regmap_init_mmio(&pdev->dev, base, &aml_rtc_regmap_config);
+ if (IS_ERR(rtc->map)) {
+ dev_err_probe(&pdev->dev, PTR_ERR(rtc->map), "regmap init failed\n");
+ return PTR_ERR(rtc->map);
Nothing improved. Read the comment. Use git grep to see how this is done
if the comment is somehow unclear.
Got it, Merge two statements into one.
"return dev_err_probe();"
Will fix it.
<form letter>
This is a friendly reminder during the review process.
It seems my or other reviewer's previous comments were not fully
addressed. Maybe the feedback got lost between the quotes, maybe you
just forgot to apply it. Please go back to the previous discussion and
either implement all requested changes or keep discussing them.
"So the third driver? What is wrong with existing ones? And why this one
is named so differently?"
Are you saying these part were not fully addressed? If so, let me answer
it here.
Yes, this is the third driver.The RTC hardware of A4 SoC is different
from the previous one, so need add new RTC driver to support it.
A4 RTC hardware includes a timing function and an alarm function.
But the existing has only timing function, alarm function is using the
system clock to implement a virtual alarm.
The driver file name modfiy to rtc-amlogic-a4.c suggested by Alexandre
Belloni.
Thank you.
</form letter>
Best regards,
Krzysztof