]> git.baikalelectronics.ru Git - kernel.git/commit
sbs-battery: add min design voltage to sbs-battery
authorSimon Que <sque@chromium.org>
Mon, 4 Aug 2014 11:47:46 +0000 (13:47 +0200)
committerSebastian Reichel <sre@kernel.org>
Sat, 6 Sep 2014 18:57:43 +0000 (20:57 +0200)
commit72efac2247becd81bba9d50a87186d176c9b5124
tree3224cbd5923320dcdc92c8c7061dd446720a51d3
parent3aa35a53b21a0343a11c46a362abbe373a2f4791
sbs-battery: add min design voltage to sbs-battery

sbs-battery has a max design voltage but not a min design voltage field.
The SBS spec only has one design voltage:
http://www.sbs-forum.org/specs/sbdat110.pdf

Currently this is being used for max design voltage.  This patch uses it
for min design voltage as well.

Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/sbs-battery.c