serial: imx: unmap sg in case of dmaengine_prep_slave_sg() failure
In case dmaengine_prep_slave_sg() fails, add the missing dma_unmap_sg(). Signed-off-by: NDirk Behme <dirk.behme@de.bosch.com> Signed-off-by: NAnton Bondarenko <anton_bondarenko@mentor.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录