.. | .. |
---|
1 | | -/* |
---|
2 | | - * Register cache access API |
---|
3 | | - * |
---|
4 | | - * Copyright 2011 Wolfson Microelectronics plc |
---|
5 | | - * |
---|
6 | | - * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 as |
---|
10 | | - * published by the Free Software Foundation. |
---|
11 | | - */ |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
| 2 | +// |
---|
| 3 | +// Register cache access API |
---|
| 4 | +// |
---|
| 5 | +// Copyright 2011 Wolfson Microelectronics plc |
---|
| 6 | +// |
---|
| 7 | +// Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> |
---|
12 | 8 | |
---|
13 | 9 | #include <linux/bsearch.h> |
---|
14 | 10 | #include <linux/device.h> |
---|
.. | .. |
---|
721 | 717 | |
---|
722 | 718 | map->cache_bypass = true; |
---|
723 | 719 | |
---|
724 | | - ret = _regmap_raw_write(map, base, *data, count * val_bytes); |
---|
| 720 | + ret = _regmap_raw_write(map, base, *data, count * val_bytes, false); |
---|
725 | 721 | if (ret) |
---|
726 | 722 | dev_err(map->dev, "Unable to sync registers %#x-%#x. %d\n", |
---|
727 | 723 | base, cur - map->reg_stride, ret); |
---|