Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208511
b: refs/heads/master
c: b6d676d
h: refs/heads/master
i:
  208509: 6acef78
  208507: 4cd9277
  208503: 47591f6
  208495: 7871046
  208479: 3b053a3
  208447: f9b09b5
  208383: 1622465
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Aug 11, 2010
1 parent 66a0d87 commit ddb7fb5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 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: 71740c423c52dc65fd2f40e4c7f6ed32c636c52b
refs/heads/master: b6d676db35ca6c99180bb12dcbd4a8c3b2995e49
39 changes: 20 additions & 19 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,17 +889,17 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip)
}

/**
* __nand_unlock - [REPLACABLE] unlocks specified locked blockes
* __nand_unlock - [REPLACEABLE] unlocks specified locked blocks
*
* @param mtd - mtd info
* @param ofs - offset to start unlock from
* @param len - length to unlock
* @invert - when = 0, unlock the range of blocks within the lower and
* @mtd: mtd info
* @ofs: offset to start unlock from
* @len: length to unlock
* @invert: when = 0, unlock the range of blocks within the lower and
* upper boundary address
* whne = 1, unlock the range of blocks outside the boundaries
* when = 1, unlock the range of blocks outside the boundaries
* of the lower and upper boundary address
*
* @return - unlock status
* return - unlock status
*/
static int __nand_unlock(struct mtd_info *mtd, loff_t ofs,
uint64_t len, int invert)
Expand Down Expand Up @@ -931,13 +931,13 @@ static int __nand_unlock(struct mtd_info *mtd, loff_t ofs,
}

/**
* nand_unlock - [REPLACABLE] unlocks specified locked blockes
* nand_unlock - [REPLACEABLE] unlocks specified locked blocks
*
* @param mtd - mtd info
* @param ofs - offset to start unlock from
* @param len - length to unlock
* @mtd: mtd info
* @ofs: offset to start unlock from
* @len: length to unlock
*
* @return - unlock status
* return - unlock status
*/
int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
{
Expand Down Expand Up @@ -982,16 +982,16 @@ int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
}

/**
* nand_lock - [REPLACABLE] locks all blockes present in the device
* nand_lock - [REPLACEABLE] locks all blocks present in the device
*
* @param mtd - mtd info
* @param ofs - offset to start unlock from
* @param len - length to unlock
* @mtd: mtd info
* @ofs: offset to start unlock from
* @len: length to unlock
*
* @return - lock status
* return - lock status
*
* This feature is not support in many NAND parts. 'Micron' NAND parts
* do have this feature, but it allows only to lock all blocks not for
* This feature is not supported in many NAND parts. 'Micron' NAND parts
* do have this feature, but it allows only to lock all blocks, not for
* specified range for block.
*
* Implementing 'lock' feature by making use of 'unlock', for now.
Expand Down Expand Up @@ -2093,6 +2093,7 @@ static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
* nand_fill_oob - [Internal] Transfer client buffer to oob
* @chip: nand chip structure
* @oob: oob data buffer
* @len: oob data write length
* @ops: oob ops structure
*/
static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob, size_t len,
Expand Down
2 changes: 2 additions & 0 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,8 @@ sub dump_enum($$) {
my $file = shift;

$x =~ s@/\*.*?\*/@@gos; # strip comments.
$x =~ s/^#\s*define\s+.*$//; # strip #define macros inside enums

if ($x =~ /enum\s+(\w+)\s*{(.*)}/) {
$declaration_name = $1;
my $members = $2;
Expand Down

0 comments on commit ddb7fb5

Please sign in to comment.