]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: Add precious registers to the driver interface
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 06:40:22 +0000 (15:40 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 06:47:05 +0000 (15:47 +0900)
commitfd7695c4760d14edf84583dafd893d5a3070cc25
treeb18fb8477f049f1ad7b06022bf59a50f0201143d
parent264fbdfe244cb4e9c462f8bdaeac0faa4c4195f9
regmap: Add precious registers to the driver interface

Some devices are sensitive to reads on their registers, especially for
things like clear on read interrupt status registers. Avoid creating
problems with these with things like debugfs by allowing drivers to tell
the core about them. If a register is marked as precious then the core
will not internally generate any reads of it.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regmap.h