diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2016-08-03 16:14:52 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-12 09:20:14 +0200 |
commit | 13ce6c24f0b5217bb9f787b0ddd82a8eceb8894a (patch) | |
tree | a1afe6256a946864915071af20d103aeecbfacba /drivers/misc | |
parent | cc2c60c531572ac27f42f419d3da1a65e4e67262 (diff) | |
download | barebox-13ce6c24f0b5217bb9f787b0ddd82a8eceb8894a.tar.gz barebox-13ce6c24f0b5217bb9f787b0ddd82a8eceb8894a.tar.xz |
mfd: da9063: added generic reg_update() function
Used to set or clear bits of a register.
The calculation of 'client' might look odd and unnecessary complicated.
But style prepares access to other register banks which is added in
following patches.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Tested-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions