mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: add setup to rtl8366_smi_ops struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -790,6 +790,12 @@ int rtl8366_smi_init(struct rtl8366_smi *smi)
|
||||
goto err_free_sck;
|
||||
}
|
||||
|
||||
err = smi->ops->setup(smi);
|
||||
if (err) {
|
||||
dev_err(smi->parent, "chip setup failed, err=%d\n", err);
|
||||
goto err_free_sck;
|
||||
}
|
||||
|
||||
err = rtl8366_smi_mii_init(smi);
|
||||
if (err)
|
||||
goto err_free_sck;
|
||||
|
||||
Reference in New Issue
Block a user