X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fpci%2Fnm256%2Fnm256.c;h=5637e0b79aebd017608a116883cab15274dd6367;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=ee3b246bbef0e5f6e838cde913719908ab1dcffc;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c index ee3b246bb..5637e0b79 100644 --- a/sound/pci/nm256/nm256.c +++ b/sound/pci/nm256/nm256.c @@ -703,7 +703,7 @@ static int snd_nm256_capture_copy(snd_pcm_substream_t *substream, int channel, /* not used (interleaved data) */ snd_pcm_uframes_t pos, - void *dst, + void __user *dst, snd_pcm_uframes_t count) { snd_pcm_runtime_t *runtime = substream->runtime; @@ -1509,6 +1509,10 @@ snd_nm256_create(snd_card_t *card, struct pci_dev *pci, /* this workaround will cause lock-up after suspend/resume on Sony PCG-F305 */ chip->latitude_workaround = 0; } + if (subsystem_vendor == 0x1028 && subsystem_device == 0x0080) { + /* this workaround will cause lock-up after suspend/resume on a Dell laptop */ + chip->latitude_workaround = 0; + } snd_nm256_init_chip(chip);