From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752387AbbJLP5X (ORCPT ); Mon, 12 Oct 2015 11:57:23 -0400 Received: from mga11.intel.com ([192.55.52.93]:9670 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751912AbbJLP5V (ORCPT ); Mon, 12 Oct 2015 11:57:21 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,673,1437462000"; d="scan'208";a="790581533" Date: Mon, 12 Oct 2015 21:30:25 +0530 From: Vinod Koul To: Peter Ujfalusi Cc: nsekhar@ti.com, linux@arm.linux.org.uk, olof@lixom.net, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [PATCH v4 11/25] ARM/dmaengine: edma: Merge the two drivers under drivers/dma/ Message-ID: <20151012160024.GF27370@localhost> References: <1443088932-21731-1-git-send-email-peter.ujfalusi@ti.com> <1443088932-21731-12-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443088932-21731-12-git-send-email-peter.ujfalusi@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24, 2015 at 01:01:58PM +0300, Peter Ujfalusi wrote: > Move the code out from arch/arm/common and merge it inside of the dmaengine > driver. > This change is done with as minimal change to the code as possible to avoid > any possibilities to introducing regression. Is this a pure move patch or code has been modified, if latter am disappointed that existing code style issue have not been fixed > +static inline void edma_write(struct edma_cc *ecc, int offset, int val) > +{ > + __raw_writel(val, ecc->base + offset); > +} > +static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, > + unsigned or) This looks bad on my 80 char screen, and few more places below > +{ > + unsigned val = edma_read(ecc, offset); checkpatch should have asked you to add empty line here, many places below too > + val &= and; > + val |= or; > + edma_write(ecc, offset, val); > +} empty line here and few more places More later :) -- ~Vinod