commit | ffff7a12ace24c54220631b79abb02ab65780b5a | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Mon Sep 08 08:43:37 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 08 12:16:19 2014 +0100 |
tree | f1e7f9552f32c3412a6b7e27606a72e79fbebbd2 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 [diff] |
regmap: Fix debugfs-file 'registers' mode The macro "REGMAP_ALLOW_WRITE_DEBUGFS" can be used to enable write support on the registers file in the debugfs. The mode of the file is fixed to 0400 so it is not possible to write the file ever. This patch fixes the mode by setting it to the correct value depending on the macro. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>