Krzysztof Kozlowski
478913fdbd
power: bq24190: Fix ignored supplicants
...
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.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com >
Cc: <stable@vger.kernel.org >
Fixes: d7bf353fd0 ("bq24190_charger: Add support for TI BQ24190 Battery Charger")
Signed-off-by: Sebastian Reichel <sre@kernel.org >
2015-01-20 13:58:32 +01:00
..
2014-09-25 09:57:23 -07:00
2015-01-20 13:58:31 +01:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2013-04-16 17:38:10 -07:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:21:27 +02:00
2012-03-11 14:27:37 -04:00
2014-10-20 16:21:27 +02:00
2014-10-28 03:30:18 +01:00
2015-01-20 13:58:32 +01:00
2013-10-25 15:56:51 -07:00
2014-12-14 16:10:09 -08:00
2015-01-20 13:58:32 +01:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2013-03-31 23:25:47 -07:00
2013-03-31 23:25:45 -07:00
2012-11-28 11:43:22 -08:00
2014-11-17 03:07:11 +01:00
2014-10-20 16:21:27 +02:00
2013-03-31 23:39:40 -07:00
2015-01-20 13:58:31 +01:00
2014-10-20 16:21:27 +02:00
2014-07-28 15:36:29 +02:00
2014-01-25 15:24:15 +04:00
2014-10-20 16:21:27 +02:00
2015-01-20 13:58:31 +01:00
2013-06-06 17:19:54 -07:00
2014-10-20 16:21:27 +02:00
2015-01-20 13:58:31 +01:00
2014-10-20 16:21:27 +02:00
2014-09-25 01:37:13 +02:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2014-09-24 15:25:52 +01:00
2013-12-23 18:59:41 -08:00
2014-10-20 16:21:27 +02:00
2013-06-06 17:35:38 -07:00
2013-03-18 11:18:05 +02:00
2014-12-15 15:12:21 +01:00
2013-03-07 12:35:53 +08:00
2014-10-28 03:30:19 +01:00
2014-09-16 11:01:37 +02:00
2014-09-16 11:01:37 +02:00
2012-03-11 14:27:37 -04:00
2015-01-20 13:58:31 +01:00
2014-10-20 16:21:27 +02:00
2013-03-18 19:43:03 -07:00
2014-09-06 20:57:43 +02:00
2012-11-28 11:43:22 -08:00
2013-03-18 19:27:31 -07:00
2013-08-09 13:41:52 -07:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2013-08-30 17:34:52 -07:00
2014-10-20 16:21:27 +02:00
2013-05-10 11:56:22 -07:00
2012-11-28 11:43:22 -08:00
2012-11-28 11:43:22 -08:00
2012-11-28 11:43:22 -08:00