Skip to content

Commit 0121a94

Browse files
committed
xsphy: try to get it working without syscon fallback on topmisc
no probe error, but lspci is empty (affects all ports)
1 parent da5bb2e commit 0121a94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/phy/mediatek/phy-mtk-xsphy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static int phy_type_syscon_get(struct xsphy_instance *instance,
339339

340340
instance->type_sw_reg = args.args[0];
341341
instance->type_sw_index = args.args[1] & 0x3; /* <=3 */
342-
instance->type_sw = syscon_node_to_regmap(args.np);
342+
instance->type_sw = device_node_to_regmap(args.np);
343343
of_node_put(args.np);
344344
dev_info(&instance->phy->dev, "type_sw - reg %#x, index %d\n",
345345
instance->type_sw_reg, instance->type_sw_index);

0 commit comments

Comments
 (0)