OSDN Git Service

ASoC: wm_adsp: Ensure set controls are synced on each boot
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 28 May 2013 11:01:50 +0000 (12:01 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 May 2013 14:34:26 +0000 (15:34 +0100)
commit0c2e3f3420bb790a4e5bc14d3d50a722964ad73e
tree4df579ffa46187b53928d1772a40bf1d7af05c87
parent9dbce04402e33e362e3e946c437bc70b8102a95d
ASoC: wm_adsp: Ensure set controls are synced on each boot

Rename `dirty' to `set' as it is a bit more descriptive.  A set
control is any control that has been set by the user.  We need to ensure
that everytime we boot the DSP we sync out any controls that were
set.

We could at some point start keeping track of the default values of
the controls to suppress some of the device I/O.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c