ASoC: soc-cache: Ensure flat compression uses a copy of the defaults cache
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Wed, 12 Jan 2011 10:22:28 +0000 (10:22 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 12 Jan 2011 14:55:12 +0000 (14:55 +0000)
commitd779fce5d79525d66269c8f6e430e1515d697f3d
tree6e7faaa7a6bb2374dda3cf5c290658334ac9332d
parent9f040c7941df09eca6e6a15cfa766b719d8cafb3
ASoC: soc-cache: Ensure flat compression uses a copy of the defaults cache

With the addition of the cache fallback functionality, it is necessary
to ensure that if the register defaults cache was marked as __devinitconst
and the LZO compression is not compiled in the kernel, the fallback to
flat compression will still use a copy of the defaults cache.

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