OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 398bc58d0a05fb080e58051a33915607c71e58df Mon Sep 17 00:00:00 2001 |
2 | From: Giedrius <giedrius@blokas.io> |
||
3 | Date: Sat, 24 Feb 2018 14:47:02 +0200 |
||
4 | Subject: [PATCH 232/454] Fixing memset call in pisound.c |
||
5 | |||
6 | Signed-off-by: Giedrius Trainavicius <giedrius@blokas.io> |
||
7 | --- |
||
8 | sound/soc/bcm/pisound.c | 2 +- |
||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
||
10 | |||
11 | --- a/sound/soc/bcm/pisound.c |
||
12 | +++ b/sound/soc/bcm/pisound.c |
||
13 | @@ -313,7 +313,7 @@ static void spi_transfer(const uint8_t * |
||
14 | struct spi_transfer transfer; |
||
15 | struct spi_message msg; |
||
16 | |||
17 | - memset(rxbuf, 0, sizeof(txbuf)); |
||
18 | + memset(rxbuf, 0, len); |
||
19 | |||
20 | if (!pisnd_spi_device) { |
||
21 | printe("pisnd_spi_device null, returning\n"); |