diff options
author | Paul Mackerras <paulus@samba.org> | 2006-12-03 23:59:07 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-03 23:59:07 -0500 |
commit | 79acbb3ff2d8095b692e1502b9eb2ccec348de26 (patch) | |
tree | 6ab773e5a8f9de2cd6443362b21d0d6fffe3b35e /drivers/mtd | |
parent | 19a79859e168640f8e16d7b216d211c1c52b687a (diff) | |
parent | 2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff) |
Merge branch 'linux-2.6' into for-linus
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/cfi_flagadm.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c index 7ea49a0d5ec3..296159ec5189 100644 --- a/drivers/mtd/chips/cfi_cmdset_0001.c +++ b/drivers/mtd/chips/cfi_cmdset_0001.c | |||
@@ -1087,7 +1087,7 @@ static int inval_cache_and_wait_for_operation( | |||
1087 | } | 1087 | } |
1088 | spin_lock(chip->mutex); | 1088 | spin_lock(chip->mutex); |
1089 | 1089 | ||
1090 | if (chip->state != chip_state) { | 1090 | while (chip->state != chip_state) { |
1091 | /* Someone's suspended the operation: sleep */ | 1091 | /* Someone's suspended the operation: sleep */ |
1092 | DECLARE_WAITQUEUE(wait, current); | 1092 | DECLARE_WAITQUEUE(wait, current); |
1093 | set_current_state(TASK_UNINTERRUPTIBLE); | 1093 | set_current_state(TASK_UNINTERRUPTIBLE); |
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 24747bdc3e19..d132ed571f13 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -607,7 +607,7 @@ config MTD_BAST_MAXSIZE | |||
607 | default "4" | 607 | default "4" |
608 | 608 | ||
609 | config MTD_SHARP_SL | 609 | config MTD_SHARP_SL |
610 | bool "ROM maped on Sharp SL Series" | 610 | bool "ROM mapped on Sharp SL Series" |
611 | depends on MTD && ARCH_PXA | 611 | depends on MTD && ARCH_PXA |
612 | help | 612 | help |
613 | This enables access to the flash chip on the Sharp SL Series of PDAs. | 613 | This enables access to the flash chip on the Sharp SL Series of PDAs. |
diff --git a/drivers/mtd/maps/cfi_flagadm.c b/drivers/mtd/maps/cfi_flagadm.c index 92b5d883d7b0..65e5ee552010 100644 --- a/drivers/mtd/maps/cfi_flagadm.c +++ b/drivers/mtd/maps/cfi_flagadm.c | |||
@@ -80,7 +80,7 @@ struct mtd_partition flagadm_parts[] = { | |||
80 | .size = FLASH_PARTITION2_SIZE | 80 | .size = FLASH_PARTITION2_SIZE |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | .name = "Persistant storage", | 83 | .name = "Persistent storage", |
84 | .offset = FLASH_PARTITION3_ADDR, | 84 | .offset = FLASH_PARTITION3_ADDR, |
85 | .size = FLASH_PARTITION3_SIZE | 85 | .size = FLASH_PARTITION3_SIZE |
86 | } | 86 | } |
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index baece61169f4..41bfcae1fbf4 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -1479,6 +1479,7 @@ static void nand_write_page_syndrome(struct mtd_info *mtd, | |||
1479 | * @buf: the data to write | 1479 | * @buf: the data to write |
1480 | * @page: page number to write | 1480 | * @page: page number to write |
1481 | * @cached: cached programming | 1481 | * @cached: cached programming |
1482 | * @raw: use _raw version of write_page | ||
1482 | */ | 1483 | */ |
1483 | static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, | 1484 | static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, |
1484 | const uint8_t *buf, int page, int cached, int raw) | 1485 | const uint8_t *buf, int page, int cached, int raw) |