Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c2f451e authored by Gerlando Falauto's avatar Gerlando Falauto Committed by Kumar Gala
Browse files

powerpc/83xx: apply mpc8360e quirk for kmeter1 only when par_io is present



There is no point in applying this quirk when par_io is not present.

Signed-off-by: default avatarGerlando Falauto <gerlando.falauto@keymile.com>
Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 14f40f31
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -148,12 +148,14 @@ static void __init mpc83xx_km_setup_arch(void)

		for_each_node_by_name(np, "ucc")
			par_io_of_config(np);
	}

		/* Only apply this quirk when par_io is available */
		np = of_find_compatible_node(NULL, "network", "ucc_geth");
		if (np != NULL) {
			quirk_mpc8360e_qe_enet10();
			of_node_put(np);
		}
	}
#endif	/* CONFIG_QUICC_ENGINE */
}