From: Loic Poulain Date: Thu, 24 Apr 2014 09:34:48 +0000 (+0200) Subject: serial: 8250: Fix thread unsafe __dma_tx_complete function X-Git-Tag: omap-for-v3.16/pm-signed~45^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8fd1b0350d3a4581125f5eda6528f5a2c5f9183;p=pandora-kernel.git serial: 8250: Fix thread unsafe __dma_tx_complete function __dma_tx_complete is not protected against concurrent call of serial8250_tx_dma. it can lead to circular tail index corruption or parallel call of serial_tx_dma on the same data portion. This patch fixes this issue by holding the port lock. Signed-off-by: Loic Poulain Reviewed-by: Heikki Krogerus Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed