Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99112
b: refs/heads/master
c: 149b154
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 13, 2008
1 parent 8fdedf1 commit 16e36bd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4549915cdf468019d2fd86485dd8d2ab426b8d85
refs/heads/master: 149b154452b18dedd4559cdd65b965ae9011e425
5 changes: 0 additions & 5 deletions trunk/sound/pci/hda/patch_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/mutex.h>

#include <sound/core.h>
#include "hda_codec.h"
Expand Down Expand Up @@ -64,7 +63,6 @@ struct ad198x_spec {
/* PCM information */
struct hda_pcm pcm_rec[3]; /* used in alc_build_pcms() */

struct mutex amp_mutex; /* PCM volume/mute control mutex */
unsigned int spdif_route;

/* dynamic controls, init_verbs and input_mux */
Expand Down Expand Up @@ -3177,7 +3175,6 @@ static int patch_ad1884(struct hda_codec *codec)
if (spec == NULL)
return -ENOMEM;

mutex_init(&spec->amp_mutex);
codec->spec = spec;

spec->multiout.max_channels = 2;
Expand Down Expand Up @@ -3847,7 +3844,6 @@ static int patch_ad1884a(struct hda_codec *codec)
if (spec == NULL)
return -ENOMEM;

mutex_init(&spec->amp_mutex);
codec->spec = spec;

spec->multiout.max_channels = 2;
Expand Down Expand Up @@ -4152,7 +4148,6 @@ static int patch_ad1882(struct hda_codec *codec)
if (spec == NULL)
return -ENOMEM;

mutex_init(&spec->amp_mutex);
codec->spec = spec;

spec->multiout.max_channels = 6;
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ struct conexant_spec {
/* PCM information */
struct hda_pcm pcm_rec[2]; /* used in build_pcms() */

struct mutex amp_mutex; /* PCM volume/mute control mutex */
unsigned int spdif_route;

/* dynamic controls, init_verbs and input_mux */
Expand Down Expand Up @@ -928,7 +927,6 @@ static int patch_cxt5045(struct hda_codec *codec)
spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (!spec)
return -ENOMEM;
mutex_init(&spec->amp_mutex);
codec->spec = spec;

spec->multiout.max_channels = 2;
Expand Down Expand Up @@ -1477,7 +1475,6 @@ static int patch_cxt5047(struct hda_codec *codec)
spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (!spec)
return -ENOMEM;
mutex_init(&spec->amp_mutex);
codec->spec = spec;

spec->multiout.max_channels = 2;
Expand Down Expand Up @@ -1736,7 +1733,6 @@ static int patch_cxt5051(struct hda_codec *codec)
spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (!spec)
return -ENOMEM;
mutex_init(&spec->amp_mutex);
codec->spec = spec;

codec->patch_ops = conexant_patch_ops;
Expand Down

0 comments on commit 16e36bd

Please sign in to comment.