Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230393
b: refs/heads/master
c: d534bac
h: refs/heads/master
i:
  230391: 054f4ed
v: v3
  • Loading branch information
Peter Ujfalusi authored and Liam Girdwood committed Nov 30, 2010
1 parent 5f9e574 commit 9e03e61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: d5876ce1242b78987e6243ba3cb23bb61d44d4a9
refs/heads/master: d534bacd918fcf0909039b95db7c090702e739d5
6 changes: 1 addition & 5 deletions trunk/sound/soc/codecs/tpa6130a2.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ static int tpa6130a2_power(u8 power)
data->power_state = 0;
goto exit;
}

/* Clear SWS */
val = tpa6130a2_read(TPA6130A2_REG_CONTROL);
val &= ~TPA6130A2_SWS;
tpa6130a2_i2c_write(TPA6130A2_REG_CONTROL, val);
} else {
/* set SWS */
val = tpa6130a2_read(TPA6130A2_REG_CONTROL);
Expand Down Expand Up @@ -301,6 +296,7 @@ static void tpa6130a2_channel_enable(u8 channel, int enable)
/* Enable amplifier */
val = tpa6130a2_read(TPA6130A2_REG_CONTROL);
val |= channel;
val &= ~TPA6130A2_SWS;
tpa6130a2_i2c_write(TPA6130A2_REG_CONTROL, val);

/* Unmute channel */
Expand Down

0 comments on commit 9e03e61

Please sign in to comment.