From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycore.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UpCWu-0002aw-Qb for barebox@lists.infradead.org; Wed, 19 Jun 2013 07:10:10 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 269C3BF0ED for ; Wed, 19 Jun 2013 09:05:04 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Wed, 19 Jun 2013 09:09:43 +0200 Message-Id: <1371625785-27704-2-git-send-email-t.gamez@phytec.de> In-Reply-To: <1371625785-27704-1-git-send-email-t.gamez@phytec.de> References: <1371625785-27704-1-git-send-email-t.gamez@phytec.de> MIME-Version: 1.0 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: [PATCHv3 2/4] omap3_spi: Remove CS check in driver To: barebox@lists.infradead.org Qm9hcmQgZmlsZSBvciBEVCBoYXMgdG8gdGFrZSBjYXJlIHRoYXQgdGhlIGNvcnJlY3QKY2hpcCBz ZWxlY3QgYW5kIGJ1cyB2YWx1ZXMgYXJlIHVzZWQuCgpTaWduZWQtb2ZmLWJ5OiBUZXJlc2EgR8Oh bWV6IDx0LmdhbWV6QHBoeXRlYy5kZT4KLS0tCmNoYW5nZXMgc2luY2UgdjM6CgktIHNwbGl0dGVk IHRoZSBmb3JtZXIgIm9tYXAzX3NwaTogQWRkIENTIGNoZWNrIGZvciBBTTMzNXgiCgkgIHBhdGNo IGludG8gdHdvCgktIHJlbW92ZWQgdGhlIFNQSSBjaGVjayBoZXJlCgogZHJpdmVycy9zcGkvb21h cDNfc3BpLmMgfCAgICA5IC0tLS0tLS0tLQogMSBmaWxlcyBjaGFuZ2Vk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