Koen Vandeputte c3fef269d6 cns3xxx: use actual size reads for PCIe
upstream commit 802b7c06adc7 ("ARM: cns3xxx: Convert PCI to use generic config accessors")
reimplemented cns3xxx_pci_read_config() using pci_generic_config_read32(),
which preserved the property of only doing 32-bit reads.

It also replaced cns3xxx_pci_write_config() with pci_generic_config_write(),
so it changed writes from always being 32 bits to being the actual size,
which works just fine.

Due to:
- The documentation does not mention that only 32 bit access is allowed.
- Writes are already executed using the actual size
- Extensive testing shows that 8b, 16b and 32b reads work as intended

It makes perfectly sense to also swap 32 bit reading in favor of actual size.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2019-01-08 13:13:16 +01:00
..
2019-01-08 13:13:16 +01:00
2018-08-08 09:54:51 +02:00
2018-05-24 17:24:30 +02:00
2018-10-19 10:00:48 +02:00
2018-12-13 13:28:41 +01:00
2018-11-05 16:00:47 +01:00
2018-11-05 16:00:47 +01:00
2018-12-14 13:04:54 +01:00
2019-01-08 13:13:16 +01:00
2018-11-06 11:49:55 +01:00
2018-12-18 15:12:06 +01:00
2018-11-14 16:27:43 +01:00
2018-12-18 15:12:06 +01:00
2018-01-09 10:26:16 +01:00
2018-12-18 15:12:06 +01:00
2018-11-14 16:27:43 +01:00
2018-10-10 14:46:25 +02:00
2018-10-09 14:36:00 +02:00
2018-10-19 10:00:48 +02:00
2018-04-19 14:38:57 +02:00
2019-01-08 13:13:16 +01:00
2018-12-18 15:12:06 +01:00
2018-11-14 16:27:43 +01:00
2018-05-24 16:03:58 +02:00