Revision ffff7a12ace24c54220631b79abb02ab65780b5a authored by Markus Pargmann on 08 September 2014, 06:43:37 UTC, committed by Mark Brown on 08 September 2014, 11:16:19 UTC
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>
1 parent 7d1311b
History

back to top