regmap: Check readable regs in _regmap_read
authorMichal Simek <michal.simek@xilinx.com>
Mon, 10 Feb 2014 11:59:46 +0000 (12:59 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 16:38:47 +0000 (16:38 +0000)
commitd4807ad2c4c0e17b6f00e3be9492c81de0804f40
tree83294f468f801639c811e08024296b323070186f
parent676970da5cf6fec096945a8bbc19749089af57aa
regmap: Check readable regs in _regmap_read

Check if regs are readable.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c