commit | f3eb83994cb4c172ce5028b5ae7ea08462cc3f1d | [log] [tgz] |
---|---|---|
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | Thu Feb 07 10:51:56 2013 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 08 11:31:34 2013 +0000 |
tree | 7e246716667bd4a4ce6da0cafd60777db529e3cb | |
parent | a3471469bcba61f8f18ca4c267b0cdd90a61e035 [diff] |
regmap: debugfs: Fix reading in register field units At the moment, if the length of the register field format is N bytes, we can only get anything meaningful back to userspace by providing a buffer that is N + 2 bytes large. Fix this so we that we only need to provide a buffer of N bytes. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>