diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-04-01 16:50:44 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-03 09:11:26 -0400 |
commit | 00b317a41c5428b13eb7e5b4bbc691b1aa7afa80 (patch) | |
tree | 59e8f673eb8d23cd67117c1c1c50fcddfa6af6bd /sound/arm/pxa2xx-pcm-lib.c | |
parent | 1b4610ebf37a05a65e9f29cdf4d87c207573104d (diff) |
ASoC: format_register_str: Don't clip register values
wordsize is used as the textual width of a register address.
regsize is used as the textual width of a register value.
The assignments to these values were swapped. In the case of WM8903, which
has 8-bit register addresses and 16-bit register values, this caused the
register values to be clipped to 2 digits instead of the full 4.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/arm/pxa2xx-pcm-lib.c')
0 files changed, 0 insertions, 0 deletions