Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1528840 > unrolled thread

Re: [PATCH] power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520

Started bySebastian Reichel <sre@kernel.org>
First post2016-11-24 00:10 +0100
Last post2016-11-24 00:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] power: supply: bq27xxx_battery: Fix register map for  BQ27510 and BQ27520 Sebastian Reichel <sre@kernel.org> - 2016-11-24 00:10 +0100

#1528840 — Re: [PATCH] power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520

FromSebastian Reichel <sre@kernel.org>
Date2016-11-24 00:10 +0100
SubjectRe: [PATCH] power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520
Message-ID<sGOPT-2P9-19@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,

On Fri, Nov 04, 2016 at 01:33:13PM -0500, Andrew F. Davis wrote:
> The BQ27510 and BQ27520 use a slightly different register map than the
> BQ27500, add a new type enum and add these gauges to it.
> 
> Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
> Based-on-patch-by: Kenneth R. Crudup <kenny@panix.com>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
>  drivers/power/supply/bq27xxx_battery.c     | 41 +++++++++++++++++++++++++++++-
>  drivers/power/supply/bq27xxx_battery_i2c.c |  4 +--
>  include/linux/power/bq27xxx_battery.h      |  3 ++-
>  3 files changed, 44 insertions(+), 4 deletions(-)

Queued into for-next. I think pali's hint, that bq27xxx_battery_overtemp()
should be implemented using a switch-case is valid to make the code more
readable. Please provide this change as follow-up patch.

-- Sebastian

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web