snd_nm256_capture_copy(snd_pcm_substream_t *substream,
int channel, /* not used (interleaved data) */
snd_pcm_uframes_t pos,
- void __user *dst,
+ void *dst,
snd_pcm_uframes_t count)
{
snd_pcm_runtime_t *runtime = substream->runtime;
/* Reset the mixer. 'Tis magic! */
snd_nm256_writeb(chip, 0x6c0, 1);
if (chip->latitude_workaround) {
- /* Dell Latitude LS will lock up on this */
+ /* Dell latitude LS will lock up by this */
snd_nm256_writeb(chip, 0x6cc, 0x87);
}
snd_nm256_writeb(chip, 0x6cc, 0x80);
chip->latitude_workaround = 1;
pci_read_config_word(pci, PCI_SUBSYSTEM_VENDOR_ID, &subsystem_vendor);
pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &subsystem_device);
- if ( (subsystem_vendor == 0x104d && subsystem_device == 0x8041)
- || (subsystem_vendor == 0x1028 && subsystem_device == 0x0080)) {
+ if (subsystem_vendor == 0x104d && subsystem_device == 0x8041) {
/* this workaround will cause lock-up after suspend/resume on Sony PCG-F305 */
- /* It will also cause a lock-up on Latitude LS (PP01S Rev A2) whenever sound devices are accessed */
- 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;
}