Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230279
b: refs/heads/master
c: 0656f6c
h: refs/heads/master
i:
  230277: 063d047
  230275: 4459682
  230271: 17a42a5
v: v3
  • Loading branch information
Jarkko Nikula authored and Liam Girdwood committed Nov 9, 2010
1 parent 88cdef1 commit 783d038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 414c73abfd0e565950f3b02336cf516147f0e104
refs/heads/master: 0656f6cf6c394ede78657595dd5a8ca7a1e64853
6 changes: 3 additions & 3 deletions trunk/sound/soc/codecs/tpa6130a2.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@ static int tpa6130a2_power(int power)

mutex_lock(&data->mutex);
if (power) {
/* Power on */
if (data->power_gpio >= 0)
gpio_set_value(data->power_gpio, 1);

ret = regulator_enable(data->supply);
if (ret != 0) {
dev_err(&tpa6130a2_client->dev,
"Failed to enable supply: %d\n", ret);
goto exit;
}
/* Power on */
if (data->power_gpio >= 0)
gpio_set_value(data->power_gpio, 1);

data->power_state = 1;
ret = tpa6130a2_initialize();
Expand Down

0 comments on commit 783d038

Please sign in to comment.