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

Commit 662e469e authored by Roger Quadros's avatar Roger Quadros Committed by Samuel Ortiz
Browse files

mfd: omap-usb-host: Update nports in platform_data



EHCI driver would need to know the number of ports available
on the platform. We set the nports parameter of platform_data
based on IP version if it was not already provided.

Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent f2d614c4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -560,6 +560,7 @@ static int usbhs_omap_probe(struct platform_device *pdev)
			 omap->usbhs_rev, omap->nports);
			break;
		}
		pdata->nports = omap->nports;
	}

	i = sizeof(struct clk *) * omap->nports;