]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: max20086: Fix MAX200086 chip id
authorJoão Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Sun, 20 Apr 2025 18:28:01 +0000 (15:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:26 +0000 (11:07 +0100)
commit12bf76717a5a2e5f779f552eb6f50cd2b8ccb6df
tree9ef6139564119080b4349af145a7d51a47bc49cd
parent26776ac0c1cfb9c5e70394111dba3efd3bc4354a
regulator: max20086: Fix MAX200086 chip id

commit 71406b6d1155d883c80c1b4405939a52f723aa05 upstream.

>From MAX20086-MAX20089 datasheet, the id for a MAX20086 is 0x30 and not
0x40. With the current code, the driver will fail on probe when the
driver tries to identify the chip id from a MAX20086 device over I2C.

Cc: stable@vger.kernel.org
Fixes: bfff546aae50 ("regulator: Add MAX20086-MAX20089 driver")
Signed-off-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Link: https://patch.msgid.link/20250420-fix-max20086-v1-1-8cc9ee0d5a08@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/max20086-regulator.c