Re: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO
From: Andi Shyti
Date: Wed Apr 10 2024 - 09:31:45 EST
Hi Arnd,
On Mon, Apr 08, 2024 at 11:28:36AM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> There is at least one machine that uses this driver but does not
> have support for inb()/outb() instructions.
>
> Convert this to using ioport_map() so it can build on architectures
> that don't provide these but work correctly on machines that require
> using port I/O.
>
> Fixes: 53f44c1005ba ("i2c: add HAS_IOPORT dependencies")
I had to update this Fixes tag as I have done a rebase.
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/CAMuHMdVUQ2WgtpYPYfO2T=itMmZ7w=geREqDtsP8Q3ODh9rxdw@xxxxxxxxxxxxxx/
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
This will go through i2c/i2c-host and sent in the merge window
pull request.
Applied to i2c/i2c-host on
git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git
Thank you,
Andi
Patches applied
===============
[1/1] i2c: ocores: convert to ioport_map() for IORESOURCE_IO
commit: a43939d2d96aec5fcb77d0abd75bab5e6ab006d3