Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105545
b: refs/heads/master
c: 3880b0b
h: refs/heads/master
i:
  105543: ba8f661
v: v3
  • Loading branch information
Ville Syrjala authored and Linus Torvalds committed Jul 24, 2008
1 parent 334387c commit 1f6577c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 50cd0221c9062ec5dac8a3620f36f568df052ac1
refs/heads/master: 3880b0b5297ae9bf58a7662d13a46b5d5f0b2af6
4 changes: 3 additions & 1 deletion trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ static struct {
#endif /* CONFIG_FB_ATY_CT */
};

/* can not fail */
static int __devinit correct_chipset(struct atyfb_par *par)
{
u8 rev;
Expand All @@ -437,6 +436,9 @@ static int __devinit correct_chipset(struct atyfb_par *par)
if (par->pci_id == aty_chips[i].pci_id)
break;

if (i < 0)
return -ENODEV;

name = aty_chips[i].name;
par->pll_limits.pll_max = aty_chips[i].pll;
par->pll_limits.mclk = aty_chips[i].mclk;
Expand Down

0 comments on commit 1f6577c

Please sign in to comment.