hw/usb-ohci.c: Ignore writes to HcPeriodCurrentED register
commit4b0315d7edcbcfcbb07f7935c6e879b3f49fb99e
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jun 2011 19:02:29 +0000 (7 20:02 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:50 +0000 (14 12:56 +0200)
treecae2e028562109f7a328d5debc78980342a78b8f
parent4001f22ffdd6bc890ffc58e6e1ac75443fe67c97
hw/usb-ohci.c: Ignore writes to HcPeriodCurrentED register

HcPeriodCurrentED is read-only, but Linux writes to it anyway; silently
ignore this rather than printing a warning message.

(Specifically, drivers/usb/host/ohci-hub.c:ohci_rh_resume() writes a
0, in at least kernels 2.6.25 through 2.6.39.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ohci.c