summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorJohn Youn <johnyoun@synopsys.com>2016-11-15 03:29:57 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-18 12:54:44 +0100
commit8ad07335e81183bacdabf080efa5120d573d6f94 (patch)
tree6fb66bcc41fc287bb90225dfbe2f12633a4da2db /drivers/usb/dwc2
parentusb: twl6030-usb: make driver DT only (diff)
downloadlinux-8ad07335e81183bacdabf080efa5120d573d6f94.tar.xz
linux-8ad07335e81183bacdabf080efa5120d573d6f94.zip
usb: dwc2: Remove reading in of invalid property
This property was mistakenly added, then removed, so don't read it in. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r--drivers/usb/dwc2/params.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index 2f18a7b4c08c..7152dbf4bb9f 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -1124,16 +1124,11 @@ static void dwc2_set_parameters(struct dwc2_hsotg *hsotg,
if ((hsotg->dr_mode == USB_DR_MODE_HOST) ||
(hsotg->dr_mode == USB_DR_MODE_OTG)) {
- bool disable;
-
dev_dbg(hsotg->dev, "Setting HOST parameters\n");
- disable = device_property_read_bool(hsotg->dev,
- "snps,host-dma-disable");
-
dwc2_set_param_bool(hsotg, &p->host_dma,
false, "host-dma",
- !disable, false,
+ true, false,
dma_capable);
}