From: Pali Rohár Date: Tue, 1 Nov 2011 00:43:05 +0000 (+0100) Subject: bq27x00_battery: Report -ENODATA if bq27000 battery was not calibrated X-Git-Tag: sz_beta2~41^3~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720b35f70dfa35063dbd7124416e5807163cae94;p=pandora-kernel.git bq27x00_battery: Report -ENODATA if bq27000 battery was not calibrated * CI (Capacity Inaccurate) flag is set after full reset on bq27000 battery * when is set, all capacity properties should be reported incorrectly, because there was no learning cycle and battery was not calibrated * instead reporting incorrect values, report -ENODATA Signed-off-by: Pali Rohár Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed