Skip to contentSkip to conversation

usb: renesas-xhci: Replace BIT(15) with macro

PATCH New Moritz Fischer 1 participant 1 message Jun 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: renesas-xhci: Replace BIT(15) with macro

Replace BIT(15) with RENESAS_ROM_STATUS_ROM_EXISTS.

---
 drivers/usb/host/xhci-pci-renesas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-pci-renesas.c +1 -1
index f97ac9f52bf4..5923844ed821 100644
@@ -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");
 
Signature · 1 line
2.31.1