Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332658
b: refs/heads/master
c: d5842ab
h: refs/heads/master
v: v3
  • Loading branch information
Roland Stigge authored and David Woodhouse committed Jul 6, 2012
1 parent a77ce8b commit ebf1416
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 21535ab39a74b5ec074e2d10b132e866472e86f9
refs/heads/master: d5842ab730d368ae2e8925dc00aec0ca132b72ab
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/nand/lpc32xx_slc.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@ static int __devinit lpc32xx_nand_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "Missing platform data\n");
return -ENOENT;
}
if (host->ncfg->wp_gpio == -EPROBE_DEFER)
return -EPROBE_DEFER;
if (gpio_is_valid(host->ncfg->wp_gpio) &&
gpio_request(host->ncfg->wp_gpio, "NAND WP")) {
dev_err(&pdev->dev, "GPIO not available\n");
Expand Down

0 comments on commit ebf1416

Please sign in to comment.