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]

 



To recap my previous comments re get_last_event() ... the idea is bad,
don't try that.


Better to just update the otg_transceiver state.  That way you'll be
working with a real Stocate Machine, which can match up to the OTG specs
and thus be more debuggable, and easier to make conformant.

AND you won't be writing nasty "if I came this way do like that" code,
which is actually far worse than spaghetti code.

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