ASoC: Move active copy of CODEC read and write into runtime structure
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Dec 2010 16:15:29 +0000 (16:15 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Dec 2010 12:18:17 +0000 (12:18 +0000)
commitc3acec2671cc448bc549b06b561ae2454238e9a0
tree82365178227d23ed6da7d27138ffba4be58f653b
parent1ee46ebd0435d547c078859c719d7c892ff7ab2d
ASoC: Move active copy of CODEC read and write into runtime structure

We shouldn't be assigning to the driver structure (which really ought
to be const, further patch to follow) though there's unlikely to be any
actual problem except in the unlikely case that two devices with the
same driver but different bus types appear in the same system.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/soc.h
sound/soc/soc-cache.c
sound/soc/soc-core.c