From 96bf154aade59a5527611b93bdc3ff5faf8ecc10 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 21 Jan 2013 23:03:53 +0000
Subject: [PATCH 045/174] Return error value from bcm2708_setup_state. Thanks
 notro

---
 drivers/spi/spi-bcm2708.c | 1 +
 1 file changed, 1 insertion(+)

--- a/drivers/spi/spi-bcm2708.c
+++ b/drivers/spi/spi-bcm2708.c
@@ -378,6 +378,7 @@ static int bcm2708_spi_setup(struct spi_
 	if (ret < 0) {
 		kfree(state);
 		spi->controller_state = NULL;
+                return ret;
 	}
 
 	dev_dbg(&spi->dev,
