[alsa-devel] [PATCH] ASoC: Remove bogus check for register validity in debugfs write

Liam Girdwood lrg at slimlogic.co.uk
Fri Mar 18 10:36:29 CET 2011

On Wed, 2011-03-16 at 18:19 +0000, Mark Brown wrote:
> 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 at opensource.wolfsonmicro.com>

Acked-by: Liam Girdwood <lrg at ti.com>

More information about the Alsa-devel mailing list