forked from Minki/linux
USB: ehci: omap: use default interrupt threshold
The current driver reduces the interrupt threshold to 1 microframe. This was an accidental change and is not really required. The default of 8 microframes will do just fine. So change it back. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
bdb581bd6b
commit
9b43cffbbd
@ -651,10 +651,6 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
|
|||||||
/* cache this readonly data; minimize chip reads */
|
/* cache this readonly data; minimize chip reads */
|
||||||
omap->ehci->hcs_params = readl(&omap->ehci->caps->hcs_params);
|
omap->ehci->hcs_params = readl(&omap->ehci->caps->hcs_params);
|
||||||
|
|
||||||
/* SET 1 micro-frame Interrupt interval */
|
|
||||||
writel(readl(&omap->ehci->regs->command) | (1 << 16),
|
|
||||||
&omap->ehci->regs->command);
|
|
||||||
|
|
||||||
ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
|
ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_dbg(&pdev->dev, "failed to add hcd with err %d\n", ret);
|
dev_dbg(&pdev->dev, "failed to add hcd with err %d\n", ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user