diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-06-28 09:23:58 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-06-30 07:44:21 +0100 |
commit | 002f17bc54ff4005260d8e6e6700de97f5b25679 (patch) | |
tree | 0de0b8209c1cbb28fd6200f5a3288dd2a2fc6c4c /drivers/usb | |
parent | 19599304625b74c95bff318c735928eec668b1ca (diff) | |
download | linux-stable-002f17bc54ff4005260d8e6e6700de97f5b25679.tar.gz linux-stable-002f17bc54ff4005260d8e6e6700de97f5b25679.tar.bz2 linux-stable-002f17bc54ff4005260d8e6e6700de97f5b25679.zip |
usb: dwc3: st: Inform the reset framework that our reset line may be shared
On the STiH410 B2120 development board the MiPHY28lp shares its reset
line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device
(DRD). New functionality in the reset subsystems forces consumers to
be explicit when requesting shared/exclusive reset lines.
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/dwc3-st.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c index 5c0adb9c6fb2..b204617ea4e6 100644 --- a/drivers/usb/dwc3/dwc3-st.c +++ b/drivers/usb/dwc3/dwc3-st.c @@ -237,7 +237,8 @@ static int st_dwc3_probe(struct platform_device *pdev) /* Manage PowerDown */ reset_control_deassert(dwc3_data->rstc_pwrdn); - dwc3_data->rstc_rst = devm_reset_control_get(dev, "softreset"); + dwc3_data->rstc_rst = + devm_reset_control_get_shared(dev, "softreset"); if (IS_ERR(dwc3_data->rstc_rst)) { dev_err(&pdev->dev, "could not get reset controller\n"); ret = PTR_ERR(dwc3_data->rstc_rst); |