Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752666AbbDCSVD (ORCPT ); Fri, 3 Apr 2015 14:21:03 -0400 Received: from sauhun.de ([89.238.76.85]:36117 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752056AbbDCSVA (ORCPT ); Fri, 3 Apr 2015 14:21:00 -0400 Date: Fri, 3 Apr 2015 20:21:38 +0200 From: Wolfram Sang To: Feng Kan Cc: patches , "devicetree@vger.kernel.org" , linux-i2c@vger.kernel.org, "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Hieu Le Subject: Re: [PATCH V2 1/3] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform Message-ID: <20150403182138.GB1298@katana> References: <1424288043-2995-1-git-send-email-fkan@apm.com> <20150323183153.GA1128@katana> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1755 Lines: 46 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >> + paddr =3D dma_map_single(ctx->dev, ctx->dma_buffer, readlen, > >> + DMA_FROM_DEVICE); > > > > The device should be the device of the dma channel. >=20 > The device is not visible on linux, DMA is done by the helper processor. > Perhaps you cah give me some idea how to do this. Thanks Well, that is a question for the DMA maintainers. But we can fix this later, I guess. --qcHopEYAB45HaUaB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVHtoyAAoJEBQN5MwUoCm2x+sP/2dDkCCGyS39Cce1fzc0K190 O12OEmy4eS48N4vR2b/srhz9LsYPVvuNEZLeBY2wE1Ki26K3+rDKiLKaeUPO97sS s62sEzqt5v6850Yh/SdDsfNMMg8SmRPAwvwbfgNZs74m4Q0lZwkGrnbowQCC0eu4 i4jA+wryp8Bx+fQjjhDCqfyjT8HjjHcoV5d78jTmZ1tXzoIn/3NVMeqTEJsfhSPE /SD9lY2cti+7dZUl4dgs1W1hXpaceHRbkZygnzsCSQkLgnA+Z+gDZGifrQGYGxxe Efvlu8k/VqtX5pjyTQ3daIXduhIh+sH11myX6l8zUgkDuR45QF0biy54+8KfWB9w jEvKhfhlW2WLG/AL/KMXd1tsR7b34hgr0yMcSMMEbDCzUuR83UhLHl4j68CE1yfP YS05QvNk8Pc5MSaCkJ63lUsnA2kJYwpnGa3gU15IpO/RcimLZ/VZ8jR/FJ1sBwQT KVkrSfGTC+FYo3uOVSYs9pQgv/iQnuWvmP6mKkf+iyg1PlYgfrcd26UIW9c+aclQ +3VJPrTIAd+SIcjWrOg9UGmtDnsZeFPU3esPoY+4htP/kkUYscegqjdl6tpZ/m+c FU9iVlA7f25vheBAgs4ROtPPwWZ2RcWo4vwGg7qQaRoRqoxFqgCkamsh0Y+aYkKv IALHEPIq2OjCpxClYVoO =8KAN -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB-- -- 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/