]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
i2c: i2c-elektor: Allow building on SMP kernels
authorMagnus Lindholm <linmag7@gmail.com>
Sat, 22 Nov 2025 13:45:01 +0000 (14:45 +0100)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 29 Nov 2025 12:38:32 +0000 (21:38 +0900)
In the past, the i2c-elektor driver was broken on SMP. Since then, there
appear to have been some fixes and cleanup work (as pointed out by Wolfram
Sang) to get rid of cli/sti usage and rely on spinlocks instead. Therefore,
let's allow building the driver on SMP kernels again.

I've tested this driver on an SMP kernel on an Alpha UP2000+ for a few days
without any problems.

Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/busses/Kconfig

index fd81e49638aaa161ae264a722e9e06adc7914cda..9b1473d720a0be5558a08f14b1eca43271cc0e99 100644 (file)
@@ -1474,7 +1474,7 @@ config I2C_ACORN
 
 config I2C_ELEKTOR
        tristate "Elektor ISA card"
-       depends on ISA && HAS_IOPORT_MAP && BROKEN_ON_SMP
+       depends on ISA && HAS_IOPORT_MAP
        select I2C_ALGOPCF
        help
          This supports the PCF8584 ISA bus I2C adapter.  Say Y if you own