Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148285
b: refs/heads/master
c: aef9084
h: refs/heads/master
i:
  148283: b1c1595
v: v3
  • Loading branch information
Mark Brown committed May 18, 2009
1 parent 1ae80bd commit e8ccca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: 6d3ddc81f5762d54ce7d1db70eb757c6c12fabbc
refs/heads/master: aef908434cd24dd5529065bf5d781773fad21125
10 changes: 1 addition & 9 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ static int dapm_down_seq[] = {
snd_soc_dapm_post
};

static int dapm_status = 1;
module_param(dapm_status, int, 0);
MODULE_PARM_DESC(dapm_status, "enable DPM sysfs entries");

static void pop_wait(u32 pop_time)
{
if (pop_time)
Expand Down Expand Up @@ -974,16 +970,12 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL);

int snd_soc_dapm_sys_add(struct device *dev)
{
if (!dapm_status)
return 0;
return device_create_file(dev, &dev_attr_dapm_widget);
}

static void snd_soc_dapm_sys_remove(struct device *dev)
{
if (dapm_status) {
device_remove_file(dev, &dev_attr_dapm_widget);
}
device_remove_file(dev, &dev_attr_dapm_widget);
}

/* free all dapm widgets and resources */
Expand Down

0 comments on commit e8ccca7

Please sign in to comment.