Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200240
b: refs/heads/master
c: 55a4c5c
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Dave Airlie committed Jun 8, 2010
1 parent d61a199 commit 21d8b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d696305530c0b3fcd7d15ad87d7203cb53df5b7
refs/heads/master: 55a4c5c515c1f4b4bde00c443e71ff9f3822013e
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/nv50_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ nv50_gpio_location(struct dcb_gpio_entry *gpio, uint32_t *reg, uint32_t *shift)
{
const uint32_t nv50_gpio_reg[4] = { 0xe104, 0xe108, 0xe280, 0xe284 };

if (gpio->line > 32)
if (gpio->line >= 32)
return -EINVAL;

*reg = nv50_gpio_reg[gpio->line >> 3];
Expand Down

0 comments on commit 21d8b35

Please sign in to comment.