commit | 128ed6a9266daac5d7b0e082339742e16caf7caa | [log] [tgz] |
---|---|---|
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | Thu Apr 02 08:21:12 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Apr 06 03:55:08 2009 +0200 |
tree | f6e1fa1fd74437933a6c16d553aff6b304b896bc | |
parent | d54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb [diff] |
ALSA: snd-atmel-ac97c: do not overwrite OCA and ICA when assigning channels This patch will take care not to overwrite OCA and ICA registers when assigning input and output channels. It will also make sure the registers are at a known state when enabling a channel and clean up properly in case of an error. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>