mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ARM: OMAP2+: Remove bogus warnings for machines without twl PMIC
In general we want to see a quiet dmesg output with no errors or warnings unless something is really wrong and needs attention. We currently see these bogus warnings on boot: twl: not initialized twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 ... Let's avoid these by checking if a device tree node for cpcap PMIC exists. Cc: Merlijn Wajer <merlijn@wizzup.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: Sebastian Reichel <sre@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
dfc065aa89
commit
ccd369455a
@ -219,7 +219,8 @@ int __init omap4_twl_init(void)
|
|||||||
{
|
{
|
||||||
struct voltagedomain *voltdm;
|
struct voltagedomain *voltdm;
|
||||||
|
|
||||||
if (!cpu_is_omap44xx())
|
if (!cpu_is_omap44xx() ||
|
||||||
|
of_find_compatible_node(NULL, NULL, "motorola,cpcap"))
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
voltdm = voltdm_lookup("mpu");
|
voltdm = voltdm_lookup("mpu");
|
||||||
|
Loading…
Reference in New Issue
Block a user