diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-04-17 13:40:11 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-18 19:07:22 +0400 |
commit | 3ac170376f2c5123414e0267aa0f9cf218965e24 (patch) | |
tree | 2c825d39794623bdd034190f72a8acb1617d54ba /drivers/base/regmap/regmap-i2c.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
download | linux-3ac170376f2c5123414e0267aa0f9cf218965e24.tar.xz |
regmap: add reg_read/reg_write callbacks to regmap_bus struct
Some busses do not support sending/receiving multiple registers in one go.
Such kind of busses just unpack the registers that have been previously
packed by the regmap core or pack registers that will be later unpacked by
the core code.
Add reg_write and reg_read callbacks in order to optimize access through
this kind of busses.
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/regmap/regmap-i2c.c')
0 files changed, 0 insertions, 0 deletions