Re: [PATCH 2/2] serial: samsung: Add missing checks for dma_map_single failure
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2017-03-23 11:59:26
Also in:
linux-samsung-soc, stable
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2017-03-23 11:59:26
Also in:
linux-samsung-soc, stable
On Thursday, March 23, 2017 12:04:02 PM Bartlomiej Zolnierkiewicz wrote:
On Thursday, March 23, 2017 08:45:22 AM Marek Szyprowski wrote:quoted
This patch adds missing checks for dma_map_single() failure and proper error reporting. While touching this part of the code, it also removes unnecessary spinlock calls around dma_map_single() for TX buffer. This finally solves all the issues reported by DMA API debug framework. Reported-by: Seung-Woo Kim <sw0312.kim@samsung.com> Fixes: 2c37eedb74c8 ("serial: samsung: add dma reqest/release functions")The right commit id is 62c37eedb74c8.
BTW With this fixed you may add: Reviewed-by: Bartlomiej Zolnierkiewicz <redacted> to both patches.
quoted
CC: stable@vger.kernel.org # v4.10+ Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Best regards,