diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-21 12:52:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-21 12:52:07 -0500 |
commit | 876454ac1a710acd434c2f23617f91d7df82387b (patch) | |
tree | d3337be509247911864e08f44a0d9a2822fc782c | |
parent | 81051f9120560059ba7055e974e42bd05a67de6d (diff) | |
parent | 1ddaa021b000220b5f2ad023e4f15ed44990974b (diff) |
Merge tag 'for-linus-20151120' of git://git.infradead.org/linux-mtd
Pull MTD fixes from Brian Norris:
- MAINTAINERS updates for brcmnand driver
- Fix reboot hangs seen when multiple NAND flash chips are registered
with the same controller
- Fix build issues on jz4740 NAND driver; the error was introduced in
4.3, so I guess nobody really cared, but we might as well fix it
* tag 'for-linus-20151120' of git://git.infradead.org/linux-mtd:
MAINTAINERS: brcmnand: Add co-maintainer for Broadcom SoCs
MAINTAINERS: brcmnand: Add Broadcom internal mailing-list
mtd: nand: fix shutdown/reboot for multi-chip systems
mtd: jz4740_nand: fix build on jz4740 after removing gpio.h
-rw-r--r-- | MAINTAINERS | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/jz4740_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index b16bffabe70a..557a3ed9e244 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2449,7 +2449,9 @@ F: drivers/firmware/broadcom/* | |||
2449 | 2449 | ||
2450 | BROADCOM STB NAND FLASH DRIVER | 2450 | BROADCOM STB NAND FLASH DRIVER |
2451 | M: Brian Norris <computersforpeace@gmail.com> | 2451 | M: Brian Norris <computersforpeace@gmail.com> |
2452 | M: Kamal Dasu <kdasu.kdev@gmail.com> | ||
2452 | L: linux-mtd@lists.infradead.org | 2453 | L: linux-mtd@lists.infradead.org |
2454 | L: bcm-kernel-feedback-list@broadcom.com | ||
2453 | S: Maintained | 2455 | S: Maintained |
2454 | F: drivers/mtd/nand/brcmnand/ | 2456 | F: drivers/mtd/nand/brcmnand/ |
2455 | 2457 | ||
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index dc4e8446f1ff..5a99a93ed025 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | 27 | ||
28 | #include <asm/mach-jz4740/gpio.h> | ||
28 | #include <asm/mach-jz4740/jz4740_nand.h> | 29 | #include <asm/mach-jz4740/jz4740_nand.h> |
29 | 30 | ||
30 | #define JZ_REG_NAND_CTRL 0x50 | 31 | #define JZ_REG_NAND_CTRL 0x50 |
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index cc74142938b0..ece544efccc3 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -3110,7 +3110,7 @@ static void nand_resume(struct mtd_info *mtd) | |||
3110 | */ | 3110 | */ |
3111 | static void nand_shutdown(struct mtd_info *mtd) | 3111 | static void nand_shutdown(struct mtd_info *mtd) |
3112 | { | 3112 | { |
3113 | nand_get_device(mtd, FL_SHUTDOWN); | 3113 | nand_get_device(mtd, FL_PM_SUSPENDED); |
3114 | } | 3114 | } |
3115 | 3115 | ||
3116 | /* Set default functions */ | 3116 | /* Set default functions */ |