]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: OMAP2+: Improve handling of ti-sysc related sysc_fields
authorTony Lindgren <tony@atomide.com>
Fri, 21 Feb 2020 18:57:17 +0000 (10:57 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 21 Feb 2020 18:59:24 +0000 (10:59 -0800)
commitf4a5ac7bd96f13b67e0f554c3c7f1b6740e3dbdf
tree40a4193f23245148b4f3cba3413606ce8568c9f4
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
ARM: OMAP2+: Improve handling of ti-sysc related sysc_fields

We can currently get a cryptic warning sysc_fields (ptrval) != (ptrval)
if the legacy platform data has no sysc_fields defined while the newer
dts data has them. This warning appears only when booting still with
legacy "ti,hwmods" custom property set. This can happen at least with
DSS related modules where we may not have sysc_fields defined in the
in the legacy data.

Let's not error out on missing legacy data sysc_fields, and show a more
descriptive warning for other cases.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c