diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-23 02:17:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-23 02:17:27 +0200 |
commit | 6214a9fe2aeca5e22184b20954774424e2efc1f6 (patch) | |
tree | d541f4b12762814750038a60b04654bdb81e7cca /drivers/mfd/altera-a10sr.c | |
parent | Merge tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd (diff) | |
parent | Merge remote-tracking branches 'regmap/topic/noinc' and 'regmap/topic/single-... (diff) | |
download | linux-6214a9fe2aeca5e22184b20954774424e2efc1f6.tar.xz linux-6214a9fe2aeca5e22184b20954774424e2efc1f6.zip |
Merge tag 'regmap-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap updates from Mark Brown:
"A small update with a couple of new APIs that are useful for some
small sets of devices:
- Split up the single_rw flagging to map read and write separately as
some devices support bulk operations for only read or only write.
- Add a write version of the noinc API.
- Clean up the code for LOG_DEVICE a bit"
* tag 'regmap-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
regmap: use less #ifdef for LOG_DEVICE
regmap: Add regmap_noinc_write API
regmap: split up regmap_config.use_single_rw
regmap: fix comment for regmap.use_single_write
Diffstat (limited to 'drivers/mfd/altera-a10sr.c')
-rw-r--r-- | drivers/mfd/altera-a10sr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index 96e7d2cb7b89..400e0b51844b 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c @@ -108,7 +108,8 @@ static const struct regmap_config altr_a10sr_regmap_config = { .cache_type = REGCACHE_NONE, - .use_single_rw = true, + .use_single_read = true, + .use_single_write = true, .read_flag_mask = 1, .write_flag_mask = 0, |