Browse Source

Merge branch 'for-3.12' into for-next

Takashi Iwai 12 years ago
parent
commit
a067c035a0
3 changed files with 505 additions and 1156 deletions
  1. 1 3
      sound/firewire/speakers.c
  2. 96 999
      sound/pci/hda/patch_analog.c
  3. 408 154
      sound/pci/rme9652/hdspm.c

+ 1 - 3
sound/firewire/speakers.c

@@ -49,7 +49,6 @@ struct fwspk {
 	struct snd_card *card;
 	struct fw_unit *unit;
 	const struct device_info *device_info;
-	struct snd_pcm_substream *pcm;
 	struct mutex mutex;
 	struct cmp_connection connection;
 	struct amdtp_out_stream stream;
@@ -363,8 +362,7 @@ static int fwspk_create_pcm(struct fwspk *fwspk)
 		return err;
 	pcm->private_data = fwspk;
 	strcpy(pcm->name, fwspk->device_info->short_name);
-	fwspk->pcm = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream;
-	fwspk->pcm->ops = &ops;
+	snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &ops);
 	return 0;
 }
 

File diff suppressed because it is too large
+ 96 - 999
sound/pci/hda/patch_analog.c


File diff suppressed because it is too large
+ 408 - 154
sound/pci/rme9652/hdspm.c


Some files were not shown because too many files changed in this diff