forked from Minki/linux
- Final patches fixing Reset API change
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXdkJCAAoJEFGvii+H/Hdh4fIP/0U47cICszk6AkV2P3q3yRc6 RyIfjBddVxAnNnUQoJAkyDnZmZnCH33wMa3NG8BlXCrtPUSMoUkG78RIN6mWjgp6 pooaXBylqIiU4ZoyQVXvxTQZhM7u/ox+2InrXOeZXirkJvRY4GzwsNWtdhzclHq2 iM86K1cfaIPdJ4d3y7WF6/5DOsdMiYQUvmtxLEYTKgJgGvkgM/9I7Ws8vk3R0lXk wO8EItxIZecAIEwfwI8HgYCoyPctevMSnXMTWAJTF+5m3Wprhhv0lEjCTEBHbmJb kkrAr86tNj4nNVG9pQCDYL/XX0Zpub0vTA4+mPL5/WTrVpI/RRYlJXKIlR25vvlN wlYRrY4mE4gKFJh7t6DhQiHdrrQcoWPymKZ7CSF2GZvc65xwBa0u3ZkeLhurgj0N C8Zj7QRIqHfP4O8JDMRvuToWJWtc8sfSvh2Y9szkevwNjZjO9INSM/hStfJZ1S0E EnZIcHSKehjdiLHiMgyWGRB3Fq24u41u8aVAGvCfCsSe7CZKYKzyAHEQSC7solSJ GmbJ6F2gB65v62rNReZeP9NCc25fex7ZkdYMr6XYqrSh7GoxtF+9VPHEvYXs5BVK +rVVCOvuvqSy4+oQ+N/0grLHIThqSVbAusXBSLFPykHO7R4Z30f3wIiSPTq8m2VW c5qwGR4ceOBRrX8fQw0c =PpU9 -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
0d064a7b9c
@ -1143,7 +1143,8 @@ static int miphy28lp_probe_resets(struct device_node *node,
|
||||
struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
|
||||
int err;
|
||||
|
||||
miphy_phy->miphy_rst = of_reset_control_get(node, "miphy-sw-rst");
|
||||
miphy_phy->miphy_rst =
|
||||
of_reset_control_get_shared(node, "miphy-sw-rst");
|
||||
|
||||
if (IS_ERR(miphy_phy->miphy_rst)) {
|
||||
dev_err(miphy_dev->dev,
|
||||
|
@ -111,7 +111,7 @@ static int stih407_usb2_picophy_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(phy_dev->rstc);
|
||||
}
|
||||
|
||||
phy_dev->rstport = devm_reset_control_get(dev, "port");
|
||||
phy_dev->rstport = devm_reset_control_get_exclusive(dev, "port");
|
||||
if (IS_ERR(phy_dev->rstport)) {
|
||||
dev_err(dev, "failed to ctrl picoPHY reset\n");
|
||||
return PTR_ERR(phy_dev->rstport);
|
||||
|
@ -233,7 +233,8 @@ static int st_dwc3_probe(struct platform_device *pdev)
|
||||
dev_vdbg(&pdev->dev, "glue-logic addr 0x%p, syscfg-reg offset 0x%x\n",
|
||||
dwc3_data->glue_base, dwc3_data->syscfg_reg_off);
|
||||
|
||||
dwc3_data->rstc_pwrdn = devm_reset_control_get(dev, "powerdown");
|
||||
dwc3_data->rstc_pwrdn =
|
||||
devm_reset_control_get_exclusive(dev, "powerdown");
|
||||
if (IS_ERR(dwc3_data->rstc_pwrdn)) {
|
||||
dev_err(&pdev->dev, "could not get power controller\n");
|
||||
ret = PTR_ERR(dwc3_data->rstc_pwrdn);
|
||||
|
Loading…
Reference in New Issue
Block a user