21d90aaee8
The battery on the 2nd hand Surface 3 which I recently bought appears to
not have a serial number programmed in. This results in any I2C reads from
the registers containing the serial number failing with an I2C NACK.
This was causing mshw0011_bix() to fail causing the battery readings to
not work at all.
Ignore EREMOTEIO (I2C NACK) errors when retrieving the serial number and
continue with an empty serial number to fix this.
Fixes:
|
||
---|---|---|
.. | ||
aggregator | ||
Kconfig | ||
Makefile | ||
surface3-wmi.c | ||
surface3_button.c | ||
surface3_power.c | ||
surface_acpi_notify.c | ||
surface_aggregator_cdev.c | ||
surface_aggregator_registry.c | ||
surface_dtx.c | ||
surface_gpe.c | ||
surface_hotplug.c | ||
surface_platform_profile.c | ||
surfacepro3_button.c |