Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753960AbZAaMG6 (ORCPT ); Sat, 31 Jan 2009 07:06:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751948AbZAaMGv (ORCPT ); Sat, 31 Jan 2009 07:06:51 -0500 Received: from mba.ocn.ne.jp ([122.1.235.107]:60597 "EHLO smtp.mba.ocn.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188AbZAaMGu (ORCPT ); Sat, 31 Jan 2009 07:06:50 -0500 Date: Sat, 31 Jan 2009 21:06:51 +0900 (JST) Message-Id: <20090131.210651.126573837.anemo@mba.ocn.ne.jp> To: dan.j.williams@intel.com Cc: hskinnemoen@atmel.com, kernel@avr32linux.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] atmel-mci: fix initialization of dma slave data From: Atsushi Nemoto In-Reply-To: <20090130230248.2402.65405.stgit@dwillia2-linux.ch.intel.com> References: <20090130230248.2402.65405.stgit@dwillia2-linux.ch.intel.com> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 5.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 20 On Fri, 30 Jan 2009 16:05:57 -0700, Dan Williams wrote: > The conversion of atmel-mci to dma_request_channel missed the initialization > of the channel dma_slave information. dma_request_channel, along with the > filter_fn, find the channel with the proper capabilities, then it is up to the > driver to update the dw_dma_chan with its slave data. > > Reported-by: Atsushi Nemoto > Signed-off-by: Dan Williams Thanks. This patch disclose struct dw_dma_chan to its client. But the struct seems too private for me. Maybe we need some generic method to pass slave information? Any idea or plan? --- Atsushi Nemoto -- 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/