[PATCH 3/3] usb: dwc2: Remove reading in of invalid property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This property was mistakenly added, then removed, so don't read it in.

Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>
---
 drivers/usb/dwc2/params.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index 2f18a7b..7152dbf 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);
 	}
 
-- 
2.10.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux