mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
usb: xhci: use 64-bit Addressing Capability macro
Simplify by replace BIT(0) call with its relevant macro. Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260806142113.2436238-13-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6d45e9556d
commit
bd15c4cb9e
|
|
@ -5523,7 +5523,7 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks)
|
|||
* DMA_BIT_MASK(32)) in this xhci_gen_setup().
|
||||
*/
|
||||
if (xhci->quirks & XHCI_NO_64BIT_SUPPORT)
|
||||
xhci->hcc_params &= ~BIT(0);
|
||||
xhci->hcc_params &= ~HCC_64BIT_ADDR;
|
||||
|
||||
/*
|
||||
* Set dma_mask and coherent_dma_mask to 64-bits if xHC supports
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user