Author :
kettenis
Date :
2023-07-23 11:42:44
Hash :23d6429a Message :Prevent spurious connection events after resume by caching the current
plug state and comparing it with the current plug state when we receive
in interrupt. Only call the connect/disconnect callbacks registered for
the port if the state really changed. This prevents an spurious
attach/detach/attach sequence when resuming with a USB device connected.
ok patrick@