Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177248
b: refs/heads/master
c: 89e84ee
h: refs/heads/master
v: v3
  • Loading branch information
Barry Song authored and Mike Frysinger committed Dec 15, 2009
1 parent aa66777 commit 6369d26
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: 298571249a1990cd3c6c6ab40250a4a9c18ab5d1
refs/heads/master: 89e84eeace5924f29a4f8f25cce9fcb083969974
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/kernel/bfin_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ int peripheral_request(unsigned short per, const char *label)
if (!(per & P_DEFINED))
return -ENODEV;

BUG_ON(ident >= MAX_RESOURCES);

local_irq_save_hw(flags);

/* If a pin can be muxed as either GPIO or peripheral, make
Expand Down

0 comments on commit 6369d26

Please sign in to comment.