Re: [PATCH] power: bq24190: Fix ignored supplicants
From: Sebastian Reichel
Date: Sun Jan 18 2015 - 05:54:17 EST
Hi,
On Mon, Jan 05, 2015 at 09:51:48AM +0100, Krzysztof Kozlowski wrote:
> The driver mismatched 'num_supplicants' with 'num_supplies' of
> power_supply structure.
>
> It provided list of supplicants (power_supply.supplied_to) but did
> not set the number of supplicants. Instead it set the num_supplies which
> is used when iterating over number of supplies (power_supply.supplied_from).
>
> As a result the list of supplicants was ignored by core because its size
> was 0.
Thanks, applied.
-- Sebastian
Attachment:
signature.asc
Description: Digital signature