Re: [PATCH 2/2] usb: otg: introduce otg_notify_event and otg_get_last_event

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

 



> what happens, then, if e.g. device has usb charging and
> devicde starts
> to boot when you connect usb cable. Then, by the time link
> (in this case
> musb) probes it will have lost the VBUS notification from phy.

That should be trivial:  enter the B-mode OTG
stage machine and set the relevant flags, as well
as updating the OTG state.  Remember it doesn't
care about the notification, just the OTG state.

The transceiver/phy driver can do that.

 Link needs to know about that somehow.

It can see that the otg_transceiver's default_a
flag is clear.  Probably doesn't want to switch
on all the default-b states, for simplicity.

- Dave


--
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