diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-07-15 06:09:28 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-15 06:09:28 -0400 |
commit | a067c035a0d90b919386aadb545e1630875a3c75 (patch) | |
tree | 243de0b7de13737c29c10cae1ef01b3feed76b1b /sound/firewire | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) | |
parent | 97c4de8fc0a47b99220b1209c7457c7dde05637a (diff) |
Merge branch 'for-3.12' into for-next
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/speakers.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/firewire/speakers.c b/sound/firewire/speakers.c index 2c6386503940..fe9e6e2f2c5b 100644 --- a/sound/firewire/speakers.c +++ b/sound/firewire/speakers.c | |||
@@ -49,7 +49,6 @@ struct fwspk { | |||
49 | struct snd_card *card; | 49 | struct snd_card *card; |
50 | struct fw_unit *unit; | 50 | struct fw_unit *unit; |
51 | const struct device_info *device_info; | 51 | const struct device_info *device_info; |
52 | struct snd_pcm_substream *pcm; | ||
53 | struct mutex mutex; | 52 | struct mutex mutex; |
54 | struct cmp_connection connection; | 53 | struct cmp_connection connection; |
55 | struct amdtp_out_stream stream; | 54 | struct amdtp_out_stream stream; |
@@ -363,8 +362,7 @@ static int fwspk_create_pcm(struct fwspk *fwspk) | |||
363 | return err; | 362 | return err; |
364 | pcm->private_data = fwspk; | 363 | pcm->private_data = fwspk; |
365 | strcpy(pcm->name, fwspk->device_info->short_name); | 364 | strcpy(pcm->name, fwspk->device_info->short_name); |
366 | fwspk->pcm = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; | 365 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &ops); |
367 | fwspk->pcm->ops = &ops; | ||
368 | return 0; | 366 | return 0; |
369 | } | 367 | } |
370 | 368 | ||