mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-19 08:02:15 -06:00
ahci: fix spacing damage on ahci_port_write
Churn. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180531222835.16558-5-jsnow@redhat.com [Fix patchew/checkpatch nit. --js] Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
e538916366
commit
f1123e4b5c
1 changed files with 71 additions and 71 deletions
|
@ -313,7 +313,7 @@ static void ahci_port_write(AHCIState *s, int port, int offset, uint32_t val)
|
||||||
* force the ICC bits to zero.
|
* force the ICC bits to zero.
|
||||||
*/
|
*/
|
||||||
pr->cmd = (pr->cmd & PORT_CMD_RO_MASK) |
|
pr->cmd = (pr->cmd & PORT_CMD_RO_MASK) |
|
||||||
(val & ~(PORT_CMD_RO_MASK|PORT_CMD_ICC_MASK));
|
(val & ~(PORT_CMD_RO_MASK | PORT_CMD_ICC_MASK));
|
||||||
|
|
||||||
/* Check FIS RX and CLB engines */
|
/* Check FIS RX and CLB engines */
|
||||||
ahci_cond_start_engines(&s->dev[port]);
|
ahci_cond_start_engines(&s->dev[port]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue