Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ad07335 authored by John Youn's avatar John Youn Committed by Felipe Balbi
Browse files

usb: dwc2: Remove reading in of invalid property



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

Signed-off-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 1ad528db
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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);
	}