From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XAGy4-0006Bl-Gh for barebox@lists.infradead.org; Thu, 24 Jul 2014 11:13:57 +0000 Received: by mail-wi0-f172.google.com with SMTP id n3so9400762wiv.5 for ; Thu, 24 Jul 2014 04:12:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140724093436.GJ23235@pengutronix.de> References: <1406142544-10516-1-git-send-email-poggi.raph@gmail.com> <20140724093436.GJ23235@pengutronix.de> From: =?UTF-8?Q?Rapha=C3=ABl_Poggi?= Date: Thu, 24 Jul 2014 13:12:04 +0200 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] i2c: add Atmel AT91 driver To: Sascha Hauer Cc: barebox@lists.infradead.org SGkgU2FzY2hhLAoKVGhhbmtzIGZvciB5b3VyIHJldmlldywgSSdsbCBjb3JyZWN0IHRoZXNlIGFu ZCBzZW5kIGEgdjIuCgpSYXBoYcOrbAoKMjAxNC0wNy0yNCAxMTozNCBHTVQrMDI6MDAgU2FzY2hh IEhhdWVyIDxzLmhhdWVyQHBlbmd1dHJvbml4LmRlPjoKPiBIaSBSYXBoYcOrbCwKPgo+IExvb2tz IG1vc3RseSBmaW5lIHRvIG1lLiBUd28gc21hbGwgY29tbWVudHM6Cj4KPiBPbiBXZWQsIEp1bCAy MywgMjAxNCBhdCAxMjowOTowNFBNIC0wNzAwLCBSYXBoYcOrbCBQb2dnaSB3cm90ZToKPj4gKwo+ PiArc3RhdGljIGludCBhdDkxX3R3aV9wcm9iZShzdHJ1Y3QgZGV2aWNlX2QgKmRldikKPj4gK3sK Pj4gKyAgICAgc3RydW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AgICAgICAgIHwKPiBJbmR1c3RyaWFsIExpbnV4IFNv bHV0aW9ucyAgICAgICAgICAgICAgICAgfCBodHRwOi8vd3d3LnBlbmd1dHJvbml4LmRlLyAgfAo+ IFBlaW5lciBTdHIuIDYtOCwgMzExMzcgSGlsZGVzaGVpbSwgR2VybWFueSB8IFBob25lOiArNDkt NTEyMS0yMDY5MTctMCAgICB8Cj4gQW10c2dlcmljaHQgSGlsZGVzaGVpbSwgSFJBIDI2ODYgICAg ICAgICAgIHwgRmF4OiAgICs0OS01MTIxLTIwNjkxNy01NTU1IHwKPgo+IF9fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gYmFyZWJveCBtYWlsaW5nIGxpc3QK PiBiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKPiBodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL2JhcmVib3gKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJhcmVib3hAbGlzdHMuaW5m cmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Jh cmVib3gK