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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120625223058.GD30406@opensource.wolfsonmicro.com>
Date:	Mon, 25 Jun 2012 23:30:59 +0100
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Linus Walleij <linus.walleij@...aro.org>
Cc:	Grant Likely <grant.likely@...retlab.ca>,
	Linus Walleij <linus.walleij@...ricsson.com>,
	linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH] gpiolib: Add support for Wolfson Microelectronics
 Arizona class devices

On Tue, Jun 26, 2012 at 03:13:58AM +0800, Linus Walleij wrote:
> On Sat, Jun 23, 2012 at 8:29 PM, Mark Brown

> > +       regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset,
> > +                          ARIZONA_GPN_LVL, value);

> I'm guessing that regmap is caching, selectively updating volatile
> regs and marshalling the writes in the background.

It's just the standard read/modify/write operation (the same as you've
got for ab8500 IIRC).  As far as the immediate user is concerned it's
just doing the I/O, the API will work with cache or the hardware
depending on how the chip register map is configured.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ