mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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: Roger Quadros <[email protected]> Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
f2d614c4be
commit
662e469e91
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue