mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:30:37 +02:00
Fix typo (#2210)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8402 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
123fe5a791
commit
41b0c8fca5
@ -89,7 +89,7 @@ MODULE_AUTHOR("Jeroen Vreeken (pe1rxq@amsat.org)");
|
|||||||
#define ADMHCD_REG_PORTSTATUS1 0x7c
|
#define ADMHCD_REG_PORTSTATUS1 0x7c
|
||||||
#define ADMHCD_REG_HOSTHEAD 0x80
|
#define ADMHCD_REG_HOSTHEAD 0x80
|
||||||
|
|
||||||
#define ADMHCD_NUMPORTS 2
|
#define ADMHCD_NUMPORTS 1
|
||||||
#define ADMHCD_DESC_ALIGN 16
|
#define ADMHCD_DESC_ALIGN 16
|
||||||
|
|
||||||
struct admhcd_ed {
|
struct admhcd_ed {
|
||||||
@ -703,8 +703,6 @@ static int admhcd_start(struct usb_hcd *hcd)
|
|||||||
struct admhcd *ahcd = hcd_to_admhcd(hcd);
|
struct admhcd *ahcd = hcd_to_admhcd(hcd);
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
printk(KERN_DEBUG PFX "calling admhcd_start\n");
|
|
||||||
|
|
||||||
spin_lock_irqsave(&ahcd->lock, flags);
|
spin_lock_irqsave(&ahcd->lock, flags);
|
||||||
|
|
||||||
/* Initialise the HCD registers */
|
/* Initialise the HCD registers */
|
||||||
@ -718,7 +716,7 @@ static int admhcd_start(struct usb_hcd *hcd)
|
|||||||
mdelay(1);
|
mdelay(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
hcd->uses_new_polling = 1;
|
//hcd->uses_new_polling = 1;
|
||||||
|
|
||||||
/* Enable USB host mode */
|
/* Enable USB host mode */
|
||||||
admhcd_reg_set(ahcd, ADMHCD_REG_CONTROL, ADMHCD_HOST_EN);
|
admhcd_reg_set(ahcd, ADMHCD_REG_CONTROL, ADMHCD_HOST_EN);
|
||||||
@ -744,7 +742,6 @@ static int admhcd_start(struct usb_hcd *hcd)
|
|||||||
|
|
||||||
spin_unlock_irqrestore(&ahcd->lock, flags);
|
spin_unlock_irqrestore(&ahcd->lock, flags);
|
||||||
|
|
||||||
printk(KERN_DEBUG PFX "returning 0 from admhcd_start\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -927,7 +924,7 @@ out:
|
|||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
static int adm5120hcd_suspend(struct platform_device *pdev, pm_message_t state)
|
static int adm5120hcd_suspend(struct platform_device *pdev, pm_message_t state)
|
||||||
{
|
{
|
||||||
pdev-dev.power.power_state = state;
|
pdev->dev.power.power_state = state;
|
||||||
mdelay(1);
|
mdelay(1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user