From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XP8fh-0007Ce-0j for barebox@lists.infradead.org; Wed, 03 Sep 2014 11:24:18 +0000 Received: by mail-wg0-f42.google.com with SMTP id b13so8296334wgh.25 for ; Wed, 03 Sep 2014 04:23:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140903065649.GD5352@pengutronix.de> References: <1409656080-19280-1-git-send-email-poggi.raph@gmail.com> <1409656080-19280-3-git-send-email-poggi.raph@gmail.com> <20140903065649.GD5352@pengutronix.de> From: =?UTF-8?Q?Rapha=C3=ABl_Poggi?= Date: Wed, 3 Sep 2014 13:23:14 +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 v3 2/3] pinctrl: at91: add pinctrl driver To: Sascha Hauer Cc: barebox@lists.infradead.org U291bmRzIGdvb2QsIGJ1dCBmaWxlcyBsaWtlIGF0OTFzYW1YWFhfZGV2aWNlcy5jIG5lZWQgZ3Bp byBmdW5jdGlvbnMuCkkgdGhpbmsgdGhlIHByb2JsZW0gaXMgdGhhdCB0aGUgbWFjaC1hdDkxL2dw aW8uYyBmaWxlIGluY2x1ZGUgYSBncGlvCmRyaXZlciB3aGljaCBub3QgYmVsb25nIHRvIGJlIGhl cmUsIHRoZSByaWdodCBwbGFjZSBpcyBpbiB0aGUKZHJpdmVyL3BpbmN0cmwgKGxpa2UgbXkgcGF0 Y2gpLiBCdXQgYWxsIGZpbGVzIGxpa2UKYXQ5MXNhbVhYWF9kZXZpY2VzLmMgYXJlIHVzaW5nIHRo ZSBmdW5jdGlvbnMgZnJvbSB0aGlzIGdwaW8gZHJpdmVy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5ZXMsIHlvdSBzaG91bGQgYWxz byBtYWtlIHN1cmUgdGhhdCB0aGlzCj4gZHJpdmVyIGlzIGNvbXBpbGVkIHVuY29uZGl0aW9uYWxs eSBvbiBBdG1lbCBTb0NzIGFuZCBhZGQgYQo+Cj4gICAgICAgICBpZiAoIUlTX0VOQUJMRUQoQ09O RklHX1BJTkNUUkwpKQo+ICAgICAgICAgICAgICAgICByZXR1cm4gMDsKPgo+IHRvIGF0OTFfcGlu Y3RybF9pbml0KCkgdG8gcmVkdWNlIHRoZSBvdmVyaGVhZCB3aGVuIHBpbmN0cmwgaXMgZGlzYWJs ZWQuCj4KPiBTYXNjaGEKPgo+IC0tCj4gUGVuZ3V0cm9uaXggZS5LLiAgICAgICAgICAgICAgICAg ICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKPiBJbmR1c3RyaWFsIExp bnV4IFNvbHV0aW9ucyAgICAgICAgICAgICAgICAgfCBodHRwOi8vd3d3LnBlbmd1dHJvbml4LmRl LyAgfAo+IFBlaW5lciBTdHIuIDYtOCwgMzExMzcgSGlsZGVzaGVpbSwgR2VybWFueSB8IFBob25l OiArNDktNTEyMS0yMDY5MTctMCAgICB8Cj4gQW10c2dlcmljaHQgSGlsZGVzaGVpbSwgSFJBIDI2 ODYgICAgICAgICAgIHwgRmF4OiAgICs0OS01MTIxLTIwNjkxNy01NTU1IHwKPgo+IF9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gYmFyZWJveCBtYWlsaW5n IGxpc3QKPiBiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKPiBodHRwOi8vbGlzdHMuaW5mcmFk ZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2JhcmVib3gKCl9fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJhcmVib3hAbGlz dHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3Rp bmZvL2JhcmVib3gK