Received: by 10.192.165.148 with SMTP id m20csp3564374imm; Mon, 7 May 2018 14:38:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoa65l+yfpNCO2eQELQ2zb1IlvXhlaoWNuX6BBqAZQtfkmhBBv/D0wo/Pe9LfN0N0dg4BHK X-Received: by 10.98.88.65 with SMTP id m62mr29013866pfb.116.1525729113212; Mon, 07 May 2018 14:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525729113; cv=none; d=google.com; s=arc-20160816; b=OaUhBrjODJs4WkswM/2pPsO4NEIXRrwFa2/vEAs2FGjP/VkOHjb8j/J5mj4KAQTLg3 K/dzALq93lClw4v3WJnLGvD3vE7g4WGkUQFY65SfXObFQIV254XTp6G4bsVXQ+zIKXiZ 4IbPKCey2ISyXNkhwk//yAUVorHr42KOr90nGRh5RFB4J3FCe/r/GY/ARN3e/w+4OoRn ynHaWM1kBAwTGxZScbox6kWis+KUs9l84T7nSc99Ltp1CR5yHcXFITmDR2C5U/9+i5cj Yl5Ap4l+Tm3wO89R1szB3trEru2flarxOTW1Bjx3T60/j7dOglNUXFtBHg4YCJt28IZ6 JcUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=HJC+j4vdGllynUXXTioIIlna3oQy2ypIuSuaZPYYTYY=; b=AC4Lfht4mlatlwMQWvvj6NBQ5Ab/OQy00vHOh/F53JJZWh7iNmmlyrCCyX0c9bqOPc V2+pBX/dzAldZCUWW8uZA77tyoYyDbe7GQN9MUHr68ig9YmfE6ZBK8Pqapw+6/fYf64+ qzCC6syGwsEXnWqtTdo4y0q02Nr5x4liujJr2IJObxdQK1gxoLp/IcklVA9lmk2bRDeu j0iHbtxoAA6NxNLxp25tgPyYZ9Jg69G7633sUNHT6VAk3Wf1AxIs0g28Vk8Ax6HSBImp SAE/Dh/Xj+TvONYYHDd55umfWllolq0WBliTJI8PorecvYUSVHc4siPZ0vP7dWk4RWE/ x9PQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si7516649plx.236.2018.05.07.14.38.19; Mon, 07 May 2018 14:38:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753272AbeEGVgQ (ORCPT + 99 others); Mon, 7 May 2018 17:36:16 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43694 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753141AbeEGVgO (ORCPT ); Mon, 7 May 2018 17:36:14 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id CA68D261218 From: Sebastian Reichel To: Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org Cc: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Fabio Estevam , Shawn Guo , linux-kernel@vger.kernel.org, Sebastian Reichel Subject: [PATCH 0/2] serial: imx: cleanup shutdown Date: Mon, 7 May 2018 23:36:08 +0200 Message-Id: <20180507213610.17330-1-sebastian.reichel@collabora.co.uk> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is a simple cleanup patch for the imx serial driver. The second one fixes a missing dma resource free. I tested both patches on imx53 based GE PPD device. -- Sebastian Sebastian Reichel (2): serial: imx: cleanup imx_uart_disable_dma() serial: imx: dma_unmap_sg buffers on shutdown drivers/tty/serial/imx.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) -- 2.17.0