]> git.ipfire.org Git - people/ms/u-boot.git/commit
usb: ehci: Properly deal with data toggle for interrupt endpoints
authorHans de Goede <hdegoede@redhat.com>
Thu, 18 Jun 2015 20:34:33 +0000 (22:34 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 19 Jun 2015 12:33:28 +0000 (14:33 +0200)
commit7f59d16a50ca7e6d417c9408b91ab2f97eff0a36
treeee91f1ab1af8efc60be75bff4c0bcfb2eed40ee7
parentb335fe681075bd6bd3e6842bad12a0ccb573dc4f
usb: ehci: Properly deal with data toggle for interrupt endpoints

Without this we loose every other interrupt packet. We never noticed this
because with keyboards the packets which we were loosing would normally
be key release packets.

But now that we do keyrepeat in software instead of relying on the hid
idle functionality, missing a release will result in key repeat triggering.

This commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ehci-hcd.c