diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-09-05 11:55:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-12 12:05:01 +0200 |
commit | 0e053e4ba119553a3635d8fa0543839c3c788ca6 (patch) | |
tree | 788ca86fdcb71d040e80475b698104732f3e3430 /drivers | |
parent | 8a5b23aafc26038b0457fc3628ac5536cc6aa9ed (diff) | |
download | barebox-0e053e4ba119553a3635d8fa0543839c3c788ca6.tar.gz barebox-0e053e4ba119553a3635d8fa0543839c3c788ca6.tar.xz |
serial: ns16550_pci: drop useless assignment
Code was imported from the kernel and the kernel had this fixed in the
meantime, so follow suit here.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220905095557.596891-26-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/serial_ns16550_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_ns16550_pci.c b/drivers/serial/serial_ns16550_pci.c index fde8f718dd..0d7b686fef 100644 --- a/drivers/serial/serial_ns16550_pci.c +++ b/drivers/serial/serial_ns16550_pci.c @@ -1203,7 +1203,7 @@ static int pci_quatech_init(struct pci_dev *dev) outl(inl(base + 0x38) | 0x00002000, base + 0x38); tmp = inl(base + 0x3c); outl(tmp | 0x01000000, base + 0x3c); - outl(tmp &= ~0x01000000, base + 0x3c); + outl(tmp & ~0x01000000, base + 0x3c); } } return 0; |