From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH] dmaengine: qcom_hidma: prevent disable in error Date: Tue, 18 Oct 2016 20:33:53 +0530 Message-ID: <20161018150353.GC2467@localhost> References: <1475782394-27887-1-git-send-email-okaya@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1475782394-27887-1-git-send-email-okaya@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Sinan Kaya Cc: dmaengine@vger.kernel.org, timur@codeaurora.org, cov@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org On Thu, Oct 06, 2016 at 03:33:14PM -0400, Sinan Kaya wrote: > When an error is observed, we try to disable the channel and prevent > further accesses from the client. > > Depending on the type of error, transitioning into disabled state might > not be possible. Adding a check to make sure that HW is in enabled/running > state before the disable transition happens. Applied, thanks -- ~Vinod