Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3475266imj; Tue, 19 Feb 2019 04:16:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IbOG28IBylrT+o4/JpaPsI6theu8Trvb4h88Lu21doC+CcVEshUy4mb4uk0NbBoB5SeO3Zb X-Received: by 2002:a17:902:f095:: with SMTP id go21mr29956818plb.199.1550578586663; Tue, 19 Feb 2019 04:16:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550578586; cv=none; d=google.com; s=arc-20160816; b=V9Uhe+2d0kvXZ9wRK35o/3lwddwTuAEvTp2XA03Q/1XZzetEUC8zi8ng4N4V01ngqj 9vn5J1w+KaDVmab9VJJjcsUlSXKn+/pUIdF38mwEuQwnBsRyyK/mCzxBOuj3III/LWER eDzfoU0WOkDyOfKmxMLFRL4i9x+agbqe10eiIkb/lBytLj88aswI015xb8ZGGISyQwFg wCDvLJDW/26tR/DrP4p3iruv78Nd7VcOt7p2dhyYsUcyyotb74zu8Lj/iUes3DVdBd7r QIFnsqkEL4H/Ze3A6xeuDo/C2VFvobh8cIcdVGZFvIQck3f4HJgbX4VPT5S05lV4g2yN vHZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tCdGF1yfAHgbd0QHKWl4OipO/KE/Fhf4cyTOoWCFeOQ=; b=zM6CkXJCvWkbnGe+NfMBt1UVv8L3XWMaGXseyPMEfRDb70FB4RXJ/HLxuiGjA7JcvZ 55ilAYFcjCaHfHsgg5KjXdRrRRbdxtFFwudZFzYvHmmCk/ZyvBUta821Pj+EgRPwBrnj cAtBDcE8MkjbSnknEyS2W48TtU5p5dMzvODBwGa/36z+Pru9GS5m0RacMBHTcGd5igBs d9shsZIFrkXU+qugGRJ1KMBPPof0uQs1D1SA3WYsDML0PAU+A+QjSf/L4aNxeXU5oGEw FvPZsXU/hmHI9bbnY9KoFijuvxjJmTO7lX8WDN2VhsVnV/aZ/wsR+GORTwfxDKlPKvT/ eE/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VSYmEGKx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m16si15267384pgi.386.2019.02.19.04.16.10; Tue, 19 Feb 2019 04:16:26 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=VSYmEGKx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727883AbfBSMOa (ORCPT + 99 others); Tue, 19 Feb 2019 07:14:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:37134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbfBSMOa (ORCPT ); Tue, 19 Feb 2019 07:14:30 -0500 Received: from localhost (unknown [106.200.226.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E29721738; Tue, 19 Feb 2019 12:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550578469; bh=EY856DV7lAODzYu3bfky+EDHLw6CXkeDEgbonfZiCBY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VSYmEGKxMYGhZtgnhm2hTBfKINXtd5BDc81wvLbqMafcHn3wi3Sf5iwTLRvvGt3MX Sx08BBYygSVzgT8zIQCFHgY7Sh2L8d3QJRUrEWcfV9aoReYKDirshy7zRFtwdSkZ3m ZcatYaOy67OrYjsn14TN3XVkO4XZUoLLKb0C46/E= Date: Tue, 19 Feb 2019 17:44:20 +0530 From: Vinod Koul To: Long Cheng Cc: Randy Dunlap , Rob Herring , Mark Rutland , Ryder Lee , Sean Wang , Nicolas Boichat , Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, srv_heupstream@mediatek.com, Yingjoe Chen , YT Shen , Zhenbao Liu Subject: Re: [PATCH v10 1/3] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support Message-ID: <20190219121420.GZ21884@vkoul-mobl> References: <1547781016-890-1-git-send-email-long.cheng@mediatek.com> <1547781016-890-2-git-send-email-long.cheng@mediatek.com> <20190204072154.GJ4296@vkoul-mobl> <1550112296.7678.5.camel@mhfsdcap03> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550112296.7678.5.camel@mhfsdcap03> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14-02-19, 10:44, Long Cheng wrote: > On Mon, 2019-02-04 at 12:51 +0530, Vinod Koul wrote: > > > +static int mtk_uart_apdma_device_pause(struct dma_chan *chan) > > > +{ > > > + /* just for check caps pass */ > > > + return 0; > > > +} > > > > please remove, this is not a mandatory fn > > Can't remove it. Before the mail, i had explained it. in 8250 uart > framework, will check the function.. I think you should fix the 8250 uart to handle driver not having a pause. Keeping a dummy pause is just wrong and sets wrong expectations for uart.. -- ~Vinod