[PATCH] mfd: twl4030-power: fix stale ARM machine ID checks to use the DT
Ethan Nelson-Moore
enelsonmoore at gmail.com
Sat May 9 09:44:57 PDT 2026
On Fri, May 8, 2026 at 6:43 PM Ethan Nelson-Moore
<enelsonmoore at gmail.com> wrote:
> The twl4030-power driver contains two checks for ARM machine IDs via
> machine_is_*() macros. These checks are incorrect because the two
> platforms concerned now support only FDT booting, which does not use
> machine IDs, and therefore they will always fail.
I have been informed that this is not correct and the kernel still
considers the machine ID when booting with FDT, though there is still
value in updating the check because it allows removing the machine IDs
from mach-types. I will resend this patch with a fixed commit message
after the 24-hour deadline.
More information about the linux-arm-kernel
mailing list