Skip to content

Commit

Permalink
Return error value from bcm2708_setup_state. Thanks notro
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Jan 21, 2013
1 parent 6c080b7 commit 6633b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spi-bcm2708.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ static int bcm2708_spi_setup(struct spi_device *spi)
if (ret < 0) {
kfree(state);
spi->controller_state = NULL;
return ret;
}

dev_dbg(&spi->dev,
Expand Down

0 comments on commit 6633b6c

Please sign in to comment.