diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-07-16 10:11:42 -1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-07-16 10:11:42 -1000 |
commit | b6603fe574af289dbe9eb9fb4c540bca04f5a053 (patch) | |
tree | b315434a4c29fedc5f140cbc0f2053822d57bd9b /drivers/mtd/devices/elm.c | |
parent | bcf44bfe5e929468b781082889d4b17245aff3ca (diff) | |
parent | 812c5fa82bae9f377f49000d7636c19a8b61735c (diff) | |
download | op-kernel-dev-b6603fe574af289dbe9eb9fb4c540bca04f5a053.zip op-kernel-dev-b6603fe574af289dbe9eb9fb4c540bca04f5a053.tar.gz |
Merge tag 'for-linus-20140716' of git://git.infradead.org/linux-mtd
Pull MTD fixes from Brian Norris:
- Fix ELM suspend/resume
- Reduce warnings if NAND ECC is too weak
- Add CFI support for Sharp LH28F640BF NOR
The last fix is coming in because other commits in the 3.16 cycle
depended on this support.
* tag 'for-linus-20140716' of git://git.infradead.org/linux-mtd:
mtd: cfi_cmdset_0001.c: add support for Sharp LH28F640BF NOR
mtd: nand: reduce the warning noise when the ECC is too weak
mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions
Diffstat (limited to 'drivers/mtd/devices/elm.c')
-rw-r--r-- | drivers/mtd/devices/elm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/devices/elm.c b/drivers/mtd/devices/elm.c index 7df8694..b4f61c7 100644 --- a/drivers/mtd/devices/elm.c +++ b/drivers/mtd/devices/elm.c @@ -475,6 +475,7 @@ static int elm_context_save(struct elm_info *info) ELM_SYNDROME_FRAGMENT_1 + offset); regs->elm_syndrome_fragment_0[i] = elm_read_reg(info, ELM_SYNDROME_FRAGMENT_0 + offset); + break; default: return -EINVAL; } @@ -520,6 +521,7 @@ static int elm_context_restore(struct elm_info *info) regs->elm_syndrome_fragment_1[i]); elm_write_reg(info, ELM_SYNDROME_FRAGMENT_0 + offset, regs->elm_syndrome_fragment_0[i]); + break; default: return -EINVAL; } |