Re: [RFC 11/17] usb/ehci: make au1xxx use generic add code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 29, 2011 at 1:40 PM, Sebastian Andrzej Siewior
<sebastian@xxxxxxxxxxxxx> wrote:
> On Mon, Aug 29, 2011 at 12:05:40PM +0530, ABRAHAM, KISHON VIJAY wrote:
>> > -       ret = usb_add_hcd(hcd, pdev->resource[1].start,
>> > -                         IRQF_DISABLED | IRQF_SHARED);
>>
>> here the irqflag is set to IRQF_DISABLED | IRQF_SHARED. But your
>> generic ehci_hcd_plat_add
>> sets it to IRQF_SHARED always.
>
> So? The former is defined to 0. The removal of IRQF_DISABLED is on my todo
> list.

I see IRQF_DISABLED defined to 0x20 in my setup.
Even then your generic usb_add_hcd shouldn't always set irqflag to
IRQF_SHARED. With irq chaining for remote wakeup (still this is wip
for OMAP4), the irqflag should have IRQF_NO_SUSPEND set. We should
have a way to set irqflag to different value and this value should be
set based on the platform.

>
> Sebasian
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux