Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754783Ab1DKHza (ORCPT ); Mon, 11 Apr 2011 03:55:30 -0400 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:54493 "EHLO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754305Ab1DKHz3 (ORCPT ); Mon, 11 Apr 2011 03:55:29 -0400 Message-ID: <4DA2B3D8.6060707@st.com> Date: Mon, 11 Apr 2011 13:25:04 +0530 From: viresh kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: "Koul, Vinod" , Dan Williams Cc: "linux-arm-kernel@lists.infradead.org" , Amit GOEL , Shiraz HASHIM , Armando VISCONTI , "linux-kernel@vger.kernel.org" , "linus.walleij@stericsson.com" Subject: dmaengine: Can we schedule new transfer from dma callback routine?? Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 561 Lines: 22 Hello, In dw_dmac.c driver, dwc_descriptor_complete() routine, following is mentioned before calling callback: /* * The API requires that no submissions are done from a * callback, so we don't need to drop the lock here */ if (callback) callback(param); Does this hold true for dmaengine?? -- viresh -- 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/