Re: [PATCH] power: supply: max17040: drop incorrect I2C functionality check

Sebastian Reichel <[email protected]> Sat, 01 Aug 2026 18:26:44 +0200
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <178560160412.8893.8859237111681195871.b4-ty@b4>
On Fri, 31 Jul 2026 16:42:59 +0800, Jianing Li wrote:
> max17040_probe() rejects adapters that do not advertise
> I2C_FUNC_SMBUS_BYTE. The driver does not issue SMBus byte transactions,
> however. Its regmap has 8-bit registers and 16-bit big-endian values, for
> which regmap-i2c supports either raw I2C transfers or SMBus word-data
> transactions.
> 
> Consequently, an adapter providing raw I2C transfers or SMBus word data
> but not SMBus byte transactions is rejected even though regmap can access
> the device. Conversely, the current check can pass an adapter that regmap
> cannot use.
> 
> [...]

Applied, thanks!

[1/1] power: supply: max17040: drop incorrect I2C functionality check
      commit: 4e4b9f5ce9dfb8ed4b8d1262a504b8043ac09d87

Best regards,
-- 
Sebastian Reichel <[email protected]>