Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942AbbKAUVO (ORCPT ); Sun, 1 Nov 2015 15:21:14 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41745 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbbKAUVL (ORCPT ); Sun, 1 Nov 2015 15:21:11 -0500 Subject: Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver To: Sinan Kaya , Arnd Bergmann Cc: dmaengine@vger.kernel.org, cov@codeaurora.org, jcm@redhat.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinod Koul , Dan Williams , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1446174501-8870-1-git-send-email-okaya@codeaurora.org> <5741892.rRLhcI7KQG@wuerfel> <5633E442.3010003@codeaurora.org> <4552697.VhjWnxQoIo@wuerfel> <56365F0D.6010508@codeaurora.org> From: Timur Tabi Message-ID: <56367433.60806@codeaurora.org> Date: Sun, 1 Nov 2015 14:21:07 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 MIME-Version: 1.0 In-Reply-To: <56365F0D.6010508@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 722 Lines: 17 Sinan Kaya wrote: > However, after issuing the command; I still need to wait some amount of > time until hardware acknowledges the commands like reset/enable/disable. > These are relatively faster operations happening in microseconds. That's > why, I have mdelay there. Can you use readl_poll_timeout()? -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/