]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: Remove bogus check for register validity in debugfs write
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Mar 2011 18:18:53 +0000 (18:18 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 Mar 2011 10:51:42 +0000 (10:51 +0000)
commitb1a56b331aec59be04f25ac99694d855d591c539
tree8b4df0abdab4c07c84ff837385980aa39d93eb24
parent2a3887f7015b547ad8195391d1f6c2136062be32
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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/soc-core.c