summaryrefslogtreecommitdiffstats
path: root/hw/ppc/spapr_drc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-04-22 12:44:53 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:03:50 -0600
commit5706dd536f0f842e3b84ea1b51cd812d704d97ff (patch)
tree82655a69780bccb697c60ff9b3bf68acbaf1907b /hw/ppc/spapr_drc.c
parent52fdcb0052f3e773654d35811b6873c29a105462 (diff)
downloadhqemu-5706dd536f0f842e3b84ea1b51cd812d704d97ff.zip
hqemu-5706dd536f0f842e3b84ea1b51cd812d704d97ff.tar.gz
usb/uhci: move pid check
commit "5f77e06 usb: add pid check at the first of uhci_handle_td()" moved the pid verification to the start of the uhci_handle_td function, to simplify the error handling (we don't have to free stuff which we didn't allocate in the first place ...). Problem is now the check fires too often, it raises error IRQs even for TDs which we are not going to process because they are not set active. So, lets move down the check a bit, so it is done only for active TDs, but still before we are going to allocate stuff to process the requested transfer. Reported-by: Joe Clifford <joe@thunderbug.co.uk> Tested-by: Joe Clifford <joe@thunderbug.co.uk> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1461321893-15811-1-git-send-email-kraxel@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ppc/spapr_drc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud