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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160818094230.GN9347@sirena.org.uk>
Date:	Thu, 18 Aug 2016 10:42:30 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Elaine Zhang <zhangqing@...k-chips.com>
Cc:	huangtao@...k-chips.com, zyw@...k-chips.com, xxx@...k-chips.com,
	jay.xu@...k-chips.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/0] regmap: drop cache if the bus transfer error

On Thu, Aug 18, 2016 at 05:01:54PM +0800, Elaine Zhang wrote:
> regmap_write
>     ->_regmap_raw_write
>     -->regcache_write first and than use map->bus->write to wirte i2c or spi
>     But if the i2c or spi transfer failed, But the cache is updated, So if I use
>     regmap_read will get the cache data which is not the real register value.

Please don't send cover letters for single patches, if there is anything
that needs saying put it in the changelog of the patch or after the ---
if it's administrative stuff.  This reduces mail volume and ensures that 
any important information is recorded in the changelog rather than being
lost. 

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ