From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsTes-0000Do-HD for barebox@lists.infradead.org; Wed, 13 May 2015 10:13:00 +0000 From: Marc Kleine-Budde Date: Wed, 13 May 2015 12:12:32 +0200 Message-Id: <1431511952-32124-7-git-send-email-mkl@pengutronix.de> In-Reply-To: <1431511952-32124-1-git-send-email-mkl@pengutronix.de> References: <1431511952-32124-1-git-send-email-mkl@pengutronix.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: [PATCH 7/7] state: return -EPROBE_DEFER if the backend isn't available To: barebox@lists.infradead.org Cc: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= RnJvbTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4K ClNpZ25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2VuaWdAcGVuZ3V0 cm9uaXguZGU+ClNpZ25lZC1vZmYtYnk6IE1hcmMgS2xlaW5lLUJ1ZGRlIDxta2xAcGVuZ3V0cm9u aXguZGU+Ci0tLQogZHJpdmVycy9taXNjL3N0YXRlLmMgfCA0ICsrKy0KIDEgZmlsZSBjaGFuZ2Vk LCAzIGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9kcml2ZXJzL21p c2Mvc3RhdGUuYyBiL2RyaXZlcnMvbWlzYy9zdGF0ZS5jCmluZGV4IDllOGE0MDI1NTM0OC4uZGJl ODg3MTVhMTAzIDEwMDY0NAotLS0gYS9kcml2ZXJzL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