[ALSA] nm256: reset workaround for Latitude CSx
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Oct 2005 14:03:10 +0000 (16:03 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 4 Nov 2005 12:19:10 +0000 (13:19 +0100)
commit47530cf44cb5f3945ed04a5ae65d06bf423cd97b
tree82c7423027bc01ff89d293f4714778e5ed948a1a
parentd44c39acafff98590b9bcdecb44dbbc3f7714b4a
[ALSA] nm256: reset workaround for Latitude CSx

Modules: NM256 driver

The current snd-nm256 driver can cause Dell Latitude CSx laptops to
lock-up during module (un)load.  I have isolated this to the writes to
the control port register at offset 0x6cc which were not already
protected by the existing reset_workaround.

I tried grouping these writes with the existing reset_workaround
clause, but that caused the driver to have (un)load problems on the
Dell Latitude LS laptops.  So, I have implemented a reset_workaround_2
clause (please feel free to suggest a better name!) to cover this
situation and added a quirk entry for the CSx laptops.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/nm256/nm256.c