mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 13:47:03 +00:00
hw/usb/ohci: Code style fix white space errors
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <c9b99b3555dcd03194a8950b810f5e1b4b4bd5d3.1676916640.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
572a673214
commit
978c93be7a
@ -212,9 +212,9 @@ struct ohci_iso_td {
|
||||
#define OHCI_PORT_PSSC (1 << 18)
|
||||
#define OHCI_PORT_OCIC (1 << 19)
|
||||
#define OHCI_PORT_PRSC (1 << 20)
|
||||
#define OHCI_PORT_WTC (OHCI_PORT_CSC|OHCI_PORT_PESC|OHCI_PORT_PSSC \
|
||||
|OHCI_PORT_OCIC|OHCI_PORT_PRSC)
|
||||
|
||||
#define OHCI_PORT_WTC (OHCI_PORT_CSC | OHCI_PORT_PESC | \
|
||||
OHCI_PORT_PSSC | OHCI_PORT_OCIC | \
|
||||
OHCI_PORT_PRSC)
|
||||
#define OHCI_TD_DIR_SETUP 0x0
|
||||
#define OHCI_TD_DIR_OUT 0x1
|
||||
#define OHCI_TD_DIR_IN 0x2
|
||||
@ -1311,10 +1311,8 @@ static void ohci_port_power(OHCIState *ohci, int i, int p)
|
||||
if (p) {
|
||||
ohci->rhport[i].ctrl |= OHCI_PORT_PPS;
|
||||
} else {
|
||||
ohci->rhport[i].ctrl &= ~(OHCI_PORT_PPS|
|
||||
OHCI_PORT_CCS|
|
||||
OHCI_PORT_PSS|
|
||||
OHCI_PORT_PRS);
|
||||
ohci->rhport[i].ctrl &= ~(OHCI_PORT_PPS | OHCI_PORT_CCS |
|
||||
OHCI_PORT_PSS | OHCI_PORT_PRS);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user