On Mon, 30 Jul 2018, Thomas Weißschuh wrote: > On Sat, 2018-06-16T11:39+0200, Thomas Weißschuh wrote: > > Previously the struct containing the supported operations for all > > batteries was zeroed every time a battery was probed. > > This prevented all batteries except the lastly probed one from being > > configured. > > Is something wrong with this patch? > If so I would like to remedy it.
Nah, it is fine. Please resend it to [email protected] and I will ack it there. However, it will have a trivial conflict with an already accepted patch that adds quirk handling to tpacpi_battery_init(). The fix is obvious (place the memset before the quirk handler is called). -- Henrique Holschuh ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ibm-acpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
