Re: [PATCH] power: supply: max77759: initialize registration, configurations

From: Sebastian Reichel

Date: Sun Nov 15 2026 - 19:07:05 EST



On Mon, 09 Nov 2026 23:14:41 +0000, Christian Loehle wrote:
> Booting a Pixel 6 with CONFIG_INIT_STACK_NONE can oops in
> internal_create_group() while probing the MAX77759 charger. The probe
> only initializes fwnode and drv_data in its automatic power_supply_config.
> The power-supply core copies the uninitialized attr_grp into dev->groups,
> allowing sysfs to follow an invalid attribute-group pointer.
> The local regulator_config is also only partly initialized. Its unused
> init_data, regmap and ena_gpiod fields can be consumed by regulator core.
> Parsing the device tree does not initialize all of these fields.
>
> [...]

Applied, thanks!

[1/1] power: supply: max77759: initialize registration, configurations
commit: f49a9afecd6d55842dab3f9b0ccb702d49db6654

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>