From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOjyl-0005Ox-KR for barebox@lists.infradead.org; Tue, 02 Sep 2014 09:02:20 +0000 Received: by mail-wi0-f179.google.com with SMTP id q5so7402864wiv.12 for ; Tue, 02 Sep 2014 02:01:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140901100847.GR5352@pengutronix.de> References: <1407269357-20471-1-git-send-email-poggi.raph@gmail.com> <1407269357-20471-2-git-send-email-poggi.raph@gmail.com> <20140901100847.GR5352@pengutronix.de> From: =?UTF-8?Q?Rapha=C3=ABl_Poggi?= Date: Tue, 2 Sep 2014 11:01:17 +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 v2 1/2] pinctrl: at91: add pinctrl driver To: Sascha Hauer Cc: barebox@lists.infradead.org SGksCgpJIGNhbiBhZGQgYWxsIHRoZSBmdW5jdGlvbnMgZnJvbSBtYWNoLWF0OTEvZ3Bpby5oIGlu Cm1hY2gtYXQ5MS9pbmNsdWRlL2dwaW8uaCBhbmQgcmVtb3ZlIG1hY2gtYXQ5MS9ncGlvLmguIElz IHRoaXMgYSB2YWxpZApzb2x1dGlvbiA/CgoyMDE0LTA5LTAxIDEyOjA4IEdNVCswMjowMCBTYXNj aGEgSGF1ZXIgPHMuaGF1ZXJAcGVuZ3V0cm9uaXguZGU+Ogo+IE9uIFR1ZSwgQXVnIDA1LCAyMDE0 IGF0IDAxOjA5OjE2UE0gLTA3MDAsIFJhcGhhw6tsIFBvZ2dpIHdyb3RlOgo+PiBkaWZmIC0tZ2l0 IGEvZHJpdmVycy9waW5jdHJsL3BpbmN0cmwtY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Rf QV9wZXJpcGgodm9pZCBfX2lvbWVtICpwaW8sIHVuc2lnbmVkIG1hc2spCj4+ICt7Cj4+ICsKPj4g KyAgICAgX19yYXdfd3JpdGVsKF9fcmF3X3JlYWRsKHBpbyArIFBJT19BQkNEU1IxKSAmIH5tYXNr LAo+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGlvICsg UElPX0FCQ0RTUjEpOwo+PiArICAgICBfX3Jhd193cml0ZWwoX19yYXdfcmVhZGwocGlvICsgUElP X0FCQ0RTUjIpICYgfm1hc2ssCj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBwaW8gKyBQSU9fQUJDRFNSMik7Cj4+ICt9Cj4+ICsKPj4gK3N0YXRpYyBpbmxp bmUgdm9pZCBhdDkxX211eF9waW8zX3NldF9CX3BlcmlwaCh2b2lkIF9faW9tZW0gKnBpbywgdW5z aWduZWQgbWFzaykKPj4gK3sKPj4gKyAgICAgX19yYXdfd3JpdGVsKF9fcmF3X3JlYWRsKHBpbyAr IFBJT19BQkNEU1IxKSB8IG1hc2ssCj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBwaW8gKyBQSU9fQUJDRFNSMSk7Cj4+ICsgICAgIF9fcmF3X3dyaXRlbChf X3Jhd19yZWFkbChwaW8gKyBQSU9fQUJDRFNSMikgJiB+bWFzaywKPj4gKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBpbyArIFBJT19BQkNEU1IyKTsKPj4gK30K Pj4gKwo+PiArc3RhdGljIGlubGluZSB2b2lkIGF0OTFfbXV4X3BpbzNfc2V0X0NfcGVyaXBoKHZv aWQgX19pb21lbSAqcGlvLCB1bnNpZ25lZCBtYXNrKQo+PiArewo+PiArICAgICBfX3Jhd193cml0 ZWwoX19yYXdfcmVhZGwocGlvICsgUElPX0FCQ0RTUjEpICYgfm1hc2ssIHBpb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