Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144869
b: refs/heads/master
c: 7348d82
h: refs/heads/master
i:
  144867: deb821c
v: v3
  • Loading branch information
Daniel Ribeiro authored and Linus Torvalds committed May 12, 2009
1 parent b2bb969 commit 765b7d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 816dc3c82b34f709dc1c29ea0a6f417d739a3487
refs/heads/master: 7348d82a67b3fe0363e7f0679b50ecbdc65116c7
3 changes: 3 additions & 0 deletions trunk/drivers/spi/pxa2xx_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,9 @@ static void cleanup(struct spi_device *spi)
{
struct chip_data *chip = spi_get_ctldata(spi);

if (!chip)
return;

if (gpio_is_valid(chip->gpio_cs))
gpio_free(chip->gpio_cs);

Expand Down

0 comments on commit 765b7d0

Please sign in to comment.