ALSA: Remove VOLATILE flag from chmap ctls
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Aug 2012 12:49:47 +0000 (14:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Sep 2012 16:08:33 +0000 (18:08 +0200)
commit6e67683d718c627aa585a82ae0eb44a7058eae5a
treea92d937cfdc2c7962e49b43824e4d4d7ee79cecc
parent8d50cdc1f52843d4fe593c2613528c3f6677949a
ALSA: Remove VOLATILE flag from chmap ctls

The VOLATILE flag was added to control elements by
snd_pcm_add_chmap_ctls() just because I didn't want to have a
side-effect of "alsactl restore".  But now the set operation doesn't
allow to change the value unless the PCM stream is in PREAPRED state,
there is no reason to keep this flag.  Let's rip it off.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c