lkml.org 
[lkml]   [2016]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single
On Monday 18 July 2016 18:12:09 H. Nikolaus Schaller wrote:
> The bq27000 and bq27010 have a single byte FLAGS register.
> Other gauges have 16 bit FLAGS registers.
>
> For reading the FLAGS register it is sufficient to read the single
> register instead of reading RSOC at the next higher address as
> well and then ignore the high byte.
>
> This does not change functionality but optimizes i2c and hdq
> traffic.
>
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Looks good, add my Acked-by.

--
Pali Rohár
pali.rohar@gmail.com

\
 
 \ /
  Last update: 2016-07-26 10:01    [W:0.213 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site