Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111029
b: refs/heads/master
c: 8569be3
h: refs/heads/master
i:
  111027: 7521b56
v: v3
  • Loading branch information
Alan Horstmann authored and Jaroslav Kysela committed Sep 23, 2008
1 parent 7425e69 commit b591b3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 7407a2e4b9e1fb3528bb355a571ee3eb7e32c386
refs/heads/master: 8569be3cf90c279957bafd4e66f1332f041831d3
5 changes: 3 additions & 2 deletions trunk/sound/soc/codecs/wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,12 +688,13 @@ static int wm8731_spi_write(struct spi_device *spi, const char *data, int len)
{
struct spi_transfer t;
struct spi_message m;
u16 msg[2];
u8 msg[2];

if (len <= 0)
return 0;

msg[0] = (data[0] << 8) + data[1];
msg[0] = data[0];
msg[1] = data[1];

spi_message_init(&m);
memset(&t, 0, (sizeof t));
Expand Down

0 comments on commit b591b3e

Please sign in to comment.