ASoC: dapm: Remove delayed_work from dapm context struct
The delayed_work field in the snd_soc_dapm_context struct is now unused and can be removed. Removing it reduces the size of the snd_soc_dapm_context struct by ~50% from 100 bytes to 48 bytes. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
cd5d822688
Коммит
7c0e3facf3
|
@ -586,7 +586,6 @@ struct snd_soc_dapm_update {
|
||||||
/* DAPM context */
|
/* DAPM context */
|
||||||
struct snd_soc_dapm_context {
|
struct snd_soc_dapm_context {
|
||||||
enum snd_soc_bias_level bias_level;
|
enum snd_soc_bias_level bias_level;
|
||||||
struct delayed_work delayed_work;
|
|
||||||
unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */
|
unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */
|
||||||
/* Go to BIAS_OFF in suspend if the DAPM context is idle */
|
/* Go to BIAS_OFF in suspend if the DAPM context is idle */
|
||||||
unsigned int suspend_bias_off:1;
|
unsigned int suspend_bias_off:1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче