Skip to content

Commit 876454a

Browse files
committed
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
2 parents 81051f9 + 1ddaa02 commit 876454a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

MAINTAINERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,9 @@ F: drivers/firmware/broadcom/*
24492449

24502450
BROADCOM STB NAND FLASH DRIVER
24512451
M: Brian Norris <[email protected]>
2452+
M: Kamal Dasu <[email protected]>
24522453
2454+
24532455
S: Maintained
24542456
F: drivers/mtd/nand/brcmnand/
24552457

drivers/mtd/nand/jz4740_nand.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include <linux/gpio.h>
2727

28+
#include <asm/mach-jz4740/gpio.h>
2829
#include <asm/mach-jz4740/jz4740_nand.h>
2930

3031
#define JZ_REG_NAND_CTRL 0x50

drivers/mtd/nand/nand_base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@ static void nand_resume(struct mtd_info *mtd)
31103110
*/
31113111
static void nand_shutdown(struct mtd_info *mtd)
31123112
{
3113-
nand_get_device(mtd, FL_SHUTDOWN);
3113+
nand_get_device(mtd, FL_PM_SUSPENDED);
31143114
}
31153115

31163116
/* Set default functions */

0 commit comments

Comments
 (0)