From: John Youn Date: Tue, 15 Nov 2016 02:29:57 +0000 (-0800) Subject: usb: dwc2: Remove reading in of invalid property X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8ad07335e81183bacdabf080efa5120d573d6f94;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Felipe Balbi --- 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); }