Patrick Mochel <mochel@xxxxxxxxxxxxxxxxxx> wrote: > > - Check the real state the device and parent are in compared > to the the real state requested, instead of just checking > that the event types are the same. > > - Update debug and error messages to display the real states. This patch causes resume failures here. suspend-to-ram, resume and the long-suffering USB wireless mouse is dead - the power light on the USB gadget is off and nothing I can do will persuade it to come back on.