]> 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)
commit9e8dde82ef3150b6e07d4ca2bca5b7bdf33da835
treeb18fb8477f049f1ad7b06022bf59a50f0201143d
parent09e29507700fb1555f45879427a162b6363c2ab4
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