Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230381
b: refs/heads/master
c: 465d7fc
h: refs/heads/master
i:
  230379: 5e99212
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Dec 14, 2010
1 parent ed59b36 commit b868d90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 83b6542533859d6ed6c95f8b869291e885eab5bd
refs/heads/master: 465d7fcc913373783dbb4cdcf03ea05b430930d4
14 changes: 7 additions & 7 deletions trunk/sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static int snd_soc_4_12_spi_write(void *control_data, const char *data,
msg[1] = data[0];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -166,7 +166,7 @@ static int snd_soc_7_9_spi_write(void *control_data, const char *data,
msg[1] = data[1];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -246,7 +246,7 @@ static int snd_soc_8_8_spi_write(void *control_data, const char *data,
msg[1] = data[1];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -326,7 +326,7 @@ static int snd_soc_8_16_spi_write(void *control_data, const char *data,
msg[2] = data[2];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -513,7 +513,7 @@ static int snd_soc_16_8_spi_write(void *control_data, const char *data,
msg[2] = data[2];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -633,7 +633,7 @@ static int snd_soc_16_16_spi_write(void *control_data, const char *data,
msg[3] = data[3];

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

t.tx_buf = &msg[0];
t.len = len;
Expand Down Expand Up @@ -1342,7 +1342,7 @@ static int snd_soc_lzo_cache_init(struct snd_soc_codec *codec)
* that register.
*/
bmp_size = codec_drv->reg_cache_size;
sync_bmp = kmalloc(BITS_TO_LONGS(bmp_size) * sizeof (long),
sync_bmp = kmalloc(BITS_TO_LONGS(bmp_size) * sizeof(long),
GFP_KERNEL);
if (!sync_bmp) {
ret = -ENOMEM;
Expand Down

0 comments on commit b868d90

Please sign in to comment.