summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-10-22 16:22:08 +0200
committerStefan Roese <[email protected]>2021-11-03 06:45:26 +0100
commitdaa9bfdb9cff9cc7ff0ad93383bbaf2bd618ab5e (patch)
treee8ca69b07b0c55d9791dfbeb1b22b60b189e5f0e /scripts/Kbuild.include
parenta79115dde373f7cdb181040dd6489fd0b21bfbd2 (diff)
pci: pci_mvebu: Fix write_config() with PCI_SIZE_8 or PCI_SIZE_16
Current implementation of write_config() is broken for PCI_SIZE_8 or PCI_SIZE_16 as it always uses writel(), which means that write operation is always 32-bit, so upper 24 bits for PCI_SIZE_8 and upper 16 bits for PCI_SIZE_16 are cleared. Fix this by using writeb() and writew(), respectively. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions