From: Stephen Warren Date: Fri, 1 Apr 2011 20:50:44 +0000 (-0600) Subject: ASoC: format_register_str: Don't clip register values X-Git-Tag: v2.6.39-rc3~7^2~1^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b317a41c5428b13eb7e5b4bbc691b1aa7afa80;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed