[PATCH 6/9] power_supply: wm97xx_battery: use power_supply_get_drvdata
khilman at baylibre.com
Tue Jan 24 15:39:27 PST 2017
Dmitry Torokhov <dmitry.torokhov at gmail.com> writes:
> On Tue, Jan 24, 2017 at 08:31:59AM +0100, Robert Jarzmik wrote:
>> Kevin Hilman <khilman at kernel.org> writes:
>> > Hello,
>> > On Wed, Oct 26, 2016 at 12:41 PM, Robert Jarzmik <robert.jarzmik at free.fr> wrote:
>> >> As the power supply framework provides a way to store and retrieve
>> >> private supply data, use it.
>> >> In the process, change the platform data for wm97xx_battery from a
>> >> container of a single struct wm97xx_batt_pdata to the direct point to wm97xx_batt_pdata.
>> >> Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
>> > kernelci.org has been reporting that the tegra20-iris board has been
>> > failing in -next since next-20161123, and also in mainline
>> > v4.10-rc. I finally took the time to bisect, and it pointed to this
>> > patch. I verified that reverting $SUBJECT patch on top of
>> > v4.10-rc5 fixes the problem.
>> > Kevin
>> >  https://kernelci.org/boot/id/5879a3fe59b5141534f6c3ac/
>> >  in mainline as commit: 6480af4915d6 power_supply: wm97xx_battery:
>> > use power_supply_get_drvdata
>> Hi Kevin,
>> There is a fix posted in here :
>> I don't know if it's related, as I have no Oops signature nor any data to be
>> able to help further.
FWIW, that kernelci.org link above has full boot log available:
> I picked up the patch from patchwork and will send it on to Linus in the
> next day or so.
I tested this on top of linus/master and the boot failure goes away.
Feel free to add,
Tested-by: Kevin Hilman <khilman at baylibre.com>
More information about the linux-arm-kernel