]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: spi_amd: Replace ioread/iowrite calls
authorRaju Rangoju <Raju.Rangoju@amd.com>
Wed, 25 Sep 2024 13:36:39 +0000 (19:06 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:11:52 +0000 (01:11 +0200)
commitefd9834b86a65f9229e90727fd61a5576c08389c
tree4d7b9408662f46e7ea6476dce03186b96f4e861e
parent769c16fa86f135542e08610e94015ed0f10afae4
spi: spi_amd: Replace ioread/iowrite calls

All `ioread*` and `iowrite*` functions are better suited for architecture
independent code to ensure portability across different architectures.
Since AMD SoCs support only the x86 architecture, replacing all `ioread*`
and `iowrite*` calls with `read*` and `write*` calls can reduce the
overhead of ensuring portability and increase the speed of I/O operations.

Co-developed-by: Krishnamoorthi M <krishnamoorthi.m@amd.com>
Signed-off-by: Krishnamoorthi M <krishnamoorthi.m@amd.com>
Co-developed-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20240925133644.2922359-4-Raju.Rangoju@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-amd.c