commit | 40ce4b5d70b0c7e70c3e831e56d2586b57b54915 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Feb 07 16:17:06 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Feb 07 16:27:41 2017 +0100 |
tree | e3ec74431c5cb7c7a89691ef12792e9852b23ba3 | |
parent | 77531beeb97d079fb422d2b78a0d75c564384310 [diff] |
ALSA: x86: Cache AUD_CONFIG register value At enabling the audio, we modify AUD_CONFIG register bit 0. So far, it does read-modify-write procedure with a special hack for the channel bits due to the silicon bug. But we can optimize it by remembering the AUD_CONFIG register value privately. This simplifies the things a lot. Signed-off-by: Takashi Iwai <tiwai@suse.de>