Re: [PATCH v4 5/5] platform/x86: acer-wmi: Ignore AC events

Ilpo Järvinen
2025-01-20T12:44:04Z

On Sat, 14 Dec 2024, David Wang wrote:

> May I suggest pr_info() this WMID_AC_EVENT event, there were discussions
> about possible unstable adapter cord causing flood of events 8-0/1. The
> logs may help identify the cause.

I don't think flood of pr_info() would be desired if that's the case.
While one could ratelimit the print out, it still seems useless noise for
normal operation which this patch aimed to eliminate.

It sounds more like you'd want to print something if and only if a flood
is detected (how to determine what is "flood", I don't know enough details
of this particular case)?

In any case, if feels something that would be better put into own a patch
with a proper justification and explanation what constitutes as "flood".

--
i.