Re: [PATCH] usb core: don't disable the port when starting HNP

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

 



On Thu, Apr 16, 2009 at 5:41 AM, David Brownell <david-b@xxxxxxxxxxx> wrote:
> On Wednesday 15 April 2009, yao yong wrote:
>> > This is a lot better than the previous patch.  I wonder if there is a
>> > simple way to eliminate the ugly preprocessor test.  For instance, if
>> > CONFIG_USB_OTG isn't defined, won't hdev->bus->is_b_host always be 0?
>>
>> [Yong] As I know, only OTG device will change the is_b_host. But I
>> think we may reserve this preprecessor in order to align with the
>> previous code.
>
> We can trust is_b_host as Alan suggests, yes.
>
> But I'm not entirely sure this patch is correct.  Does this affect
> some of the OTG conformance tests?  I've certainly observed HNP
> to proceed through b_host enumerating an a_peripheral (after the
> role switch) with the current code.
>
> Of course, the fact that I've seen it work *could* be caused by
> bugs in the drivers I was working with.
>

David,

Could you let me know which exact platform and OTG driver you've
used when you observed it was working?
--
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