On Fri, Apr 10, 2015 at 03:01:52AM +0200, Sebastian Hesselbarth wrote:
> Marvell Neta's transmit descriptor (txdesc) is allocated by 
> dma_alloc_coherent()
> but not zeroed before calling mvneta_send the first time. This can cause 
> spurious
> transmit errors due to improperly set bits in txdesc's cmd_sts field.
> 
> Fix initial transmit errors by always writing whole cmd_sts field instead of 
> ORing
> the bits.
> 
> Signed-off-by: Sebastian Hesselbarth <[email protected]>
> ---
> Cc: [email protected]
> Cc: Uwe Kleine-König <[email protected]>
> Cc: Ezequiel Garcia <[email protected]>
> Cc: Thomas Petazzoni <[email protected]>
> ---
>  drivers/net/mvneta.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied this one, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to