projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7917e90
)
usb: renesas-xhci: Replace BIT(15) with macro
author
Moritz Fischer
<mdf@kernel.org>
Mon, 14 Jun 2021 21:56:14 +0000
(14:56 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:38:45 +0000
(15:38 +0200)
Replace BIT(15) with RENESAS_ROM_STATUS_ROM_EXISTS.
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link:
https://lore.kernel.org/r/20210614215614.240489-1-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci-renesas.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-pci-renesas.c
b/drivers/usb/host/xhci-pci-renesas.c
index
f97ac9f
..
5923844
100644
(file)
--- a/
drivers/usb/host/xhci-pci-renesas.c
+++ b/
drivers/usb/host/xhci-pci-renesas.c
@@
-197,7
+197,7
@@
static int renesas_check_rom_state(struct pci_dev *pdev)
if (err)
return pcibios_err_to_errno(err);
- if (rom_state &
BIT(15)
) {
+ if (rom_state &
RENESAS_ROM_STATUS_ROM_EXISTS
) {
/* ROM exists */
dev_dbg(&pdev->dev, "ROM exists\n");