Re: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Arnd" == Arnd Bergmann <arnd@xxxxxxxxxx> writes:

 > 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")
 > Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
 > Link:
 > https://lore.kernel.org/lkml/CAMuHMdVUQ2WgtpYPYfO2T=itMmZ7w=geREqDtsP8Q3ODh9rxdw@xxxxxxxxxxxxxx/
 > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Peter Korsgaard <peter@xxxxxxxxxxxxx>

-- 
Bye, Peter Korsgaard




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux