lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 19 Oct 2016 05:02:03 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Liu Xiang <liuxiang_1999@....com>
Cc: linux-pm@...r.kernel.org, dbaryshkov@...il.com,
dwmw2@...radead.org, linux-kernel@...r.kernel.org,
Liu Xiang <liu.xiang6@....com.cn>
Subject: Re: [PATCH] power: max17040: Change register transaction length from
8 bits to 16 bits
Hi,
On Wed, Sep 21, 2016 at 10:17:34PM +0800, Liu Xiang wrote:
> According to the datasheet, MAX17040 has six 16-bit registers.
> Register reads and writes are only valid if all 16 bits are transferred.
> Any write command that is terminated early is ignored.
> So it's better to change register transacton length from 8 bits to 16 bits.
>
> Signed-off-by: Liu Xiang <liu.xiang6@....com.cn>
> ---
> drivers/power/max17040_battery.c | 52 ++++++++++++++++------------------------
> 1 file changed, 20 insertions(+), 32 deletions(-)
Thanks, queued to for-next.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists