]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "power: supply: sbs-battery: simplify read_read_string_data"
authorSebastian Reichel <sre@kernel.org>
Tue, 2 Jun 2020 14:49:08 +0000 (16:49 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 2 Jun 2020 15:08:33 +0000 (17:08 +0200)
commitf39aa5cdac7acf01bc84f7efb1cb3e457f83c7a1
tree3026860565d596c3c6ee878d53ac0c003eaef3bb
parenta0d8b3e4acbb6008982f89066cc0c7d631708629
Revert "power: supply: sbs-battery: simplify read_read_string_data"

The commit is a nice cleanup, but breaks booting on exynos5 based
chromebooks. It's seems to come down to exynos5's i2c driver not
implementing I2C_FUNC_SMBUS_READ_BLOCK_DATA. It's not yet clear
why that breaks boot / massively slows it down when userspace
starts, so revert the problematic patch.

This reverts commit 47279e0c1dbc20f9981c992eeb483c72ba147aa2.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c