From: Mark Brown Date: Wed, 16 Mar 2011 18:18:53 +0000 (+0000) Subject: ASoC: Remove bogus check for register validity in debugfs write X-Git-Tag: v2.6.39-rc1~200^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a56b331aec59be04f25ac99694d855d591c539;p=pandora-kernel.git ASoC: Remove bogus check for register validity in debugfs write Since not all registers need to be cached and the cache is entirely optional anyway we shouldn't be checking that a register is in the cached range. If the register is invalid then the actual I/O code can determine that and report an error. Similarly, the step size can and should be enforced by the lower level code if it's important. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- Reading git-diff-tree failed