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)
commit18694886bddb2d4d905535a0149aeef3b5f9c936
treeb18fb8477f049f1ad7b06022bf59a50f0201143d
parent2e2ae66df37a14c9b33889b243b0ae1352ada1dd
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