brcm2708: update against latest rpi-3.10.y branch
[openwrt/svn-archive/archive.git] / target / linux / brcm2708 / patches-3.10 / 0045-Return-error-value-from-bcm2708_setup_state.-Thanks-.patch
1 From 96bf154aade59a5527611b93bdc3ff5faf8ecc10 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Mon, 21 Jan 2013 23:03:53 +0000
4 Subject: [PATCH 045/174] Return error value from bcm2708_setup_state. Thanks
5 notro
6
7 ---
8 drivers/spi/spi-bcm2708.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/spi/spi-bcm2708.c
12 +++ b/drivers/spi/spi-bcm2708.c
13 @@ -378,6 +378,7 @@ static int bcm2708_spi_setup(struct spi_
14 if (ret < 0) {
15 kfree(state);
16 spi->controller_state = NULL;
17 + return ret;
18 }
19
20 dev_dbg(&spi->dev,