Files
linux/drivers/pci/controller
Jim Quinlan 1f807e0dcf PCI: brcmstb: Do not assume that reg field starts at LSB
When setting a register field it was assumed that the field started at the
lsb of the register.  Although the masks do indeed start at the lsb, and
this will probably not change, it is prudent to use a method that makes no
assumption about the mask's placement in the register.

The uXXp_replace_bits() calls are used since they are already prevalent
in this driver.

Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
2025-04-28 13:11:43 +01:00
..
2024-07-19 10:10:33 -05:00
2025-04-20 10:15:25 +02:00