Searched hist:"8962 b2cb39119cbda4fc69a1f83957824f102f81" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pci/controller/ |
H A D | pcie-rockchip.h | diff 8962b2cb39119cbda4fc69a1f83957824f102f81 Tue Apr 18 09:46:56 CEST 2023 Rick Wertenbroek <rick.wertenbroek@gmail.com> PCI: rockchip: Use u32 variable to access 32-bit registers
Previously u16 variables were used to access 32-bit registers, this resulted in not all of the data being read from the registers. Also the left shift of more than 16-bits would result in moving data out of the variable. Use u32 variables to access 32-bit registers
Link: https://lore.kernel.org/r/20230418074700.1083505-10-rick.wertenbroek@gmail.com Fixes: cf590b078391 ("PCI: rockchip: Add EP driver for Rockchip PCIe controller") Tested-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Rick Wertenbroek <rick.wertenbroek@gmail.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Cc: stable@vger.kernel.org
|