ASoC: wm_hubs: Cache multiple DCS offsets
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 1 May 2012 17:45:09 +0000 (18:45 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 1 May 2012 18:21:07 +0000 (19:21 +0100)
Rather than invalidating the cached DCS value every time the headphone
gain changes store multiple values, indexed by gain. This allows the
optimisation we get from the cache to take effect more often.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found