From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brown Subject: Re: [PATCH 2/2] serial: msm: Add support for UARTDM cores Date: Wed, 19 Jan 2011 11:52:02 -0800 Message-ID: <8ya7he0r7rx.fsf@huya.qualcomm.com> References: <1295407585-18386-1-git-send-email-stepanm@codeaurora.org> <20110119082534.GA9569@gallagher> <8yaaaiwsstw.fsf@huya.qualcomm.com> <20110119173739.GE3341@pulham.picochip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:20174 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753128Ab1ASTwE (ORCPT ); Wed, 19 Jan 2011 14:52:04 -0500 In-Reply-To: <20110119173739.GE3341@pulham.picochip.com> (Jamie Iles's message of "Wed, 19 Jan 2011 17:37:39 +0000") Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Jamie Iles Cc: Stepan Moskovchenko , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rlove@google.com On Wed, Jan 19 2011, Jamie Iles wrote: > On Wed, Jan 19, 2011 at 09:31:55AM -0800, David Brown wrote: >> I'm not sure what would be a better name for the flag, though. The >> block is called UARTDM. > > Ok, it was mainly out of curiosity. I guess it could be 'use_dma' or > perhaps a comment to explain what DM is but my curiosity is now > satisfied ;-) I think use_dma would probably be even more confusing, since it isn't using dma. It's a flag indicating if the device has the capability of doing dma. It's really a block version indicator, except that the blocks weren't given different versions, but instead given a name based on the DMA. I wonder if is_dma_capable would be better. David -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. From mboxrd@z Thu Jan 1 00:00:00 1970 From: davidb@codeaurora.org (David Brown) Date: Wed, 19 Jan 2011 11:52:02 -0800 Subject: [PATCH 2/2] serial: msm: Add support for UARTDM cores In-Reply-To: <20110119173739.GE3341@pulham.picochip.com> (Jamie Iles's message of "Wed, 19 Jan 2011 17:37:39 +0000") References: <1295407585-18386-1-git-send-email-stepanm@codeaurora.org> <20110119082534.GA9569@gallagher> <8yaaaiwsstw.fsf@huya.qualcomm.com> <20110119173739.GE3341@pulham.picochip.com> Message-ID: <8ya7he0r7rx.fsf@huya.qualcomm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jan 19 2011, Jamie Iles wrote: > On Wed, Jan 19, 2011 at 09:31:55AM -0800, David Brown wrote: >> I'm not sure what would be a better name for the flag, though. The >> block is called UARTDM. > > Ok, it was mainly out of curiosity. I guess it could be 'use_dma' or > perhaps a comment to explain what DM is but my curiosity is now > satisfied ;-) I think use_dma would probably be even more confusing, since it isn't using dma. It's a flag indicating if the device has the capability of doing dma. It's really a block version indicator, except that the blocks weren't given different versions, but instead given a name based on the DMA. I wonder if is_dma_capable would be better. David -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.