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

Sebastian Reichel <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.