2
0
forked from Ivasoft/openwrt

USB driver updates, the driver passes usbtests 1-10 now

SVN-Revision: 9592
This commit is contained in:
Gabor Juhos
2007-11-23 15:53:35 +00:00
parent 60898bc0c5
commit 5a1a5dcf58
6 changed files with 959 additions and 463 deletions

View File

@@ -171,7 +171,7 @@ static const struct hc_driver adm5120_hc_driver = {
.hub_status_data = admhc_hub_status_data,
.hub_control = admhc_hub_control,
.hub_irq_enable = admhc_hub_irq_enable,
#ifdef CONFIG_PM
#ifdef CONFIG_PM
.bus_suspend = admhc_bus_suspend,
.bus_resume = admhc_bus_resume,
#endif
@@ -202,6 +202,7 @@ static int usb_hcd_adm5120_remove(struct platform_device *pdev)
}
#ifdef CONFIG_PM
/* TODO */
static int usb_hcd_adm5120_suspend(struct platform_device *dev)
{
struct usb_hcd *hcd = platform_get_drvdata(dev);