Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332775
b: refs/heads/master
c: 47450b3
h: refs/heads/master
i:
  332773: c045636
  332771: 8021bcc
  332767: b8ad64e
v: v3
  • Loading branch information
Brian Norris authored and David Woodhouse committed Sep 29, 2012
1 parent 58707b0 commit 9de869b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: e5570f0c873e3be68a66b479308f21d2dc280a1c
refs/heads/master: 47450b35915c45309974c74f11c2d236db1b950f
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2916,7 +2916,6 @@ static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
{
int i, maf_idx;
u8 id_data[8];
int ret;

/* Select the device */
chip->select_chip(mtd, 0);
Expand Down Expand Up @@ -2963,8 +2962,7 @@ static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
chip->onfi_version = 0;
if (!type->name || !type->pagesize) {
/* Check is chip is ONFI compliant */
ret = nand_flash_detect_onfi(mtd, chip, &busw);
if (ret)
if (nand_flash_detect_onfi(mtd, chip, &busw))
goto ident_done;
}

Expand Down

0 comments on commit 9de869b

Please sign in to comment.