Skip to content

Commit 0d064a7

Browse files
committed
Merge tag 'mfd-fixes-4.7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull more MFD fixes from Lee Jones: "Apologies for missing these from the first pull request. Final patches fixing Reset API change" * tag 'mfd-fixes-4.7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: usb: dwc3: st: Use explicit reset_control_get_exclusive() API phy: phy-stih407-usb: Use explicit reset_control_get_exclusive() API phy: miphy28lp: Inform the reset framework that our reset line may be shared
2 parents f3683cc + 5baaf3b commit 0d064a7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

drivers/phy/phy-miphy28lp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,8 @@ static int miphy28lp_probe_resets(struct device_node *node,
11431143
struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
11441144
int err;
11451145

1146-
miphy_phy->miphy_rst = of_reset_control_get(node, "miphy-sw-rst");
1146+
miphy_phy->miphy_rst =
1147+
of_reset_control_get_shared(node, "miphy-sw-rst");
11471148

11481149
if (IS_ERR(miphy_phy->miphy_rst)) {
11491150
dev_err(miphy_dev->dev,

drivers/phy/phy-stih407-usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static int stih407_usb2_picophy_probe(struct platform_device *pdev)
111111
return PTR_ERR(phy_dev->rstc);
112112
}
113113

114-
phy_dev->rstport = devm_reset_control_get(dev, "port");
114+
phy_dev->rstport = devm_reset_control_get_exclusive(dev, "port");
115115
if (IS_ERR(phy_dev->rstport)) {
116116
dev_err(dev, "failed to ctrl picoPHY reset\n");
117117
return PTR_ERR(phy_dev->rstport);

drivers/usb/dwc3/dwc3-st.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ static int st_dwc3_probe(struct platform_device *pdev)
233233
dev_vdbg(&pdev->dev, "glue-logic addr 0x%p, syscfg-reg offset 0x%x\n",
234234
dwc3_data->glue_base, dwc3_data->syscfg_reg_off);
235235

236-
dwc3_data->rstc_pwrdn = devm_reset_control_get(dev, "powerdown");
236+
dwc3_data->rstc_pwrdn =
237+
devm_reset_control_get_exclusive(dev, "powerdown");
237238
if (IS_ERR(dwc3_data->rstc_pwrdn)) {
238239
dev_err(&pdev->dev, "could not get power controller\n");
239240
ret = PTR_ERR(dwc3_data->rstc_pwrdn);

0 commit comments

Comments
 (0)