Re: [PATCH 1/2] tty: serial: msm_serial regression fix data corruption

From: Stephen Boyd
Date: Mon Apr 25 2016 - 16:47:29 EST


On 04/23, Frank Rowand wrote:
> From: Frank Rowand <frank.rowand@xxxxxxxxxxx>
>
> Commit 3a878c430fd6 ("tty: serial: msm: Add TX DMA support") regression.
> The calculation of tx_count was moved from the old msm_handle_tx(),
> now renamed msm_handle_tx_pio(), to the new msm_handle_tx(). The
> move left out one size test.
>
> The regression seen on the qcom-apq8074-dragonboard is dropped
> characters and corrupted characters (values greater than 0x7f)
> when DMA is not enabled.
>
> Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Thanks for finding this!

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project