Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4467
b: refs/heads/master
c: 6170b43
h: refs/heads/master
i:
  4465: 6f721a6
  4463: 8e8517d
v: v3
  • Loading branch information
Russell King authored and Thomas Gleixner committed May 23, 2005
1 parent 29544aa commit 5e03454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3118db3dfe7c16284d1d578e628fd87639b00731
refs/heads/master: 6170b43401a3230756ff76287ee07db0d75eddde
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/chips/gen_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Routines common to all CFI-type probes.
* (C) 2001-2003 Red Hat, Inc.
* GPL'd
* $Id: gen_probe.c,v 1.21 2004/08/14 15:14:05 dwmw2 Exp $
* $Id: gen_probe.c,v 1.22 2005/01/24 23:49:50 rmk Exp $
*/

#include <linux/kernel.h>
Expand Down Expand Up @@ -162,7 +162,7 @@ static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
int max_chips = map_bankwidth(map); /* And minimum 1 */
int nr_chips, type;

for (nr_chips = min_chips; nr_chips <= max_chips; nr_chips <<= 1) {
for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) {

if (!cfi_interleave_supported(nr_chips))
continue;
Expand Down

0 comments on commit 5e03454

Please sign in to comment.