xhci: add & use xhci_kick_epctx()
commit3a533ee8fda6457ddc85d3c5dfeff037a808fcb3
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Sep 2016 08:32:50 +0000 (27 10:32 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Oct 2016 10:37:31 +0000 (12 12:37 +0200)
treec00cab42d0e4cd95b9b351829760219d5fb4cd7e
parent5612564ea9cf5b9636438a1b58ae9a2ab6ca16ae
xhci: add & use xhci_kick_epctx()

xhci_kick_epctx is a xhci_kick_ep variant which takes an XHCIEPContext
as input instead of slotid and epid.  So in case we have a XHCIEPContext
at hand at the callsite we can just pass it directly.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1474965172-30321-7-git-send-email-kraxel@redhat.com
hw/usb/hcd-xhci.c