]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Shrink code size for WM8962 register defaults table
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Oct 2010 00:41:04 +0000 (17:41 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Oct 2010 10:50:39 +0000 (03:50 -0700)
commitde4d1a7d841e41f47813f05c664303167e1d3f2d
tree9377a4aae8849b347d3749ba803cafd44b8ef32e
parent10ae17393ce12c9f2881ab1d8ab6b698a2fa8119
ASoC: Shrink code size for WM8962 register defaults table

Dramatically reduce the code size for the WM8962 register defaults table
by switching to explicitly initialise only defined registers, relying on
static defaulting to zero for the overwelming bulk of the register map.

Similar treatement for the register access table will come later and will
produce a similarly dramatic code size shrink.

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