[GIT PULL] mtd: Changes for 5.14-rc7

From: Miquel Raynal
Date: Mon Aug 16 2021 - 11:21:11 EST


Hello Linus,

This is the MTD fixes PR for the next -rc. Again, sorry for the delay.

Thanks,
Miquèl


The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:

Linux 5.14-rc1 (2021-07-11 15:07:40 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-5.14-rc7

for you to fetch changes up to b48027083a78b13356695555a05b0e085e378687:

mtd: rawnand: Fix probe failure due to of_get_nand_secure_regions() (2021-08-06 21:44:16 +0200)

----------------------------------------------------------------
MTD core fixes:
* Fix lock hierarchy in deregister_mtd_blktrans
* Handle flashes without OTP gracefully
* Break circular locks in register_mtd_blktrans

MTD device fixes:
* mchp48l640:
- Fix memory leak on cmd
- Silence some uninitialized variable warnings
* blkdevs:
- Initialize rq.limits.discard_granularity

CFI fixes:
* Fix crash when erasing/writing AMD cards

Raw NAND fixes:
* Fix of_get_nand_secure_regions():
- Add a missing check
- Avoid an unwanted probe failure when a DT property is missing

----------------------------------------------------------------
Andreas Persson (1):
mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards

Colin Ian King (1):
mtd: devices: mchp48l640: Fix memory leak on cmd

Dan Carpenter (2):
mtd: rawnand: Add a check in of_get_nand_secure_regions()
mtd: mchp48l640: silence some uninitialized variable warnings

Desmond Cheong Zhi Xi (2):
mtd: break circular locks in register_mtd_blktrans
mtd: fix lock hierarchy in deregister_mtd_blktrans

Manivannan Sadhasivam (1):
mtd: rawnand: Fix probe failure due to of_get_nand_secure_regions()

Michael Walle (1):
mtd: core: handle flashes without OTP gracefully

Zhihao Cheng (1):
mtd: mtd_blkdevs: Initialize rq.limits.discard_granularity

drivers/mtd/chips/cfi_cmdset_0002.c | 2 +-
drivers/mtd/devices/mchp48l640.c | 5 +++--
drivers/mtd/mtd_blkdevs.c | 11 ++++-------
drivers/mtd/mtdcore.c | 4 +++-
drivers/mtd/nand/raw/nand_base.c | 10 ++++++++--
5 files changed, 19 insertions(+), 13 deletions(-)