From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753865Ab2IQDo0 (ORCPT ); Sun, 16 Sep 2012 23:44:26 -0400 Received: from mga14.intel.com ([143.182.124.37]:32574 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753527Ab2IQDoZ (ORCPT ); Sun, 16 Sep 2012 23:44:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,432,1344236400"; d="scan'208";a="193475782" Subject: Re: [PATCH] dmaengine: add dmanegine slave map api's From: Vinod Koul To: Russell King - ARM Linux Cc: linux-kernel@vger.kernel.org, Dan Williams , Arnd Bergmann , linus.walleij@linaro.org, Jon Hunter , Stephen Warren , Benoit Cousson , Shawn Guo , Guennadi Liakhovetski , Sascha Hauer , Kukjin Kim , viresh kumar , Paul Mundt In-Reply-To: <20120914111842.GD12245@n2100.arm.linux.org.uk> References: <1347615189-27052-1-git-send-email-vinod.koul@linux.intel.com> <20120914094155.GC12245@n2100.arm.linux.org.uk> <1347619868.1943.113.camel@vkoul-udesk3> <20120914111842.GD12245@n2100.arm.linux.org.uk> Content-Type: text/plain; charset="UTF-8" Date: Mon, 17 Sep 2012 09:10:23 +0530 Message-ID: <1347853223.1943.136.camel@vkoul-udesk3> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2012-09-14 at 12:18 +0100, Russell King - ARM Linux wrote: > I'm not saying take the slave_id out of the map. I'm saying, let the > DMA engine driver itself figure out what dma_chan to return. But wont that assume the dma controller knows which channel to allocate. And how would it know this information? This can be problematic for hard wired muxes, but can be easily done for controller which have programmable mux. -- ~Vinod