openwrt/target/linux
Thibaut VARÈNE 2f0ab93799 generic: platform/mikrotik: release mtd device after use
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device #7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
(cherry picked from commit 4e385a27d6)
2021-05-12 10:14:33 +02:00
..
apm821xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 archs38: Add CONFIG_HZ=100 2021-03-19 18:01:55 +01:00
armvirt kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: force SGMII SerDes mode to MAC operation 2021-05-03 01:39:10 +02:00
bcm27xx kernel: bump 5.4 to 5.4.117 2021-05-07 23:30:57 +02:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx bcm53xx: add pending TRX patch for "firmware" partition 2021-04-16 16:19:12 +02:00
bcm63xx bcm63xx: AD1018-nor: add NAND flash 2021-03-08 12:46:46 +01:00
bcm4908 kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
gemini gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:42:42 +01:00
generic generic: platform/mikrotik: release mtd device after use 2021-05-12 10:14:33 +02:00
imx6 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq40xx ipq40xx: add support for MikroTik SXTsq 5 ac 2021-05-03 14:57:29 +02:00
ipq806x kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
kirkwood kernel: fix parsing fixed subpartitions 2021-05-08 19:29:08 +02:00
lantiq kernel: fix parsing fixed subpartitions 2021-05-08 19:29:08 +02:00
layerscape kernel: bump 5.4 to 5.4.114 2021-05-02 14:32:27 +02:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.114 2021-05-02 14:32:27 +02:00
mpc85xx mpc85xx: p2020: fix cfi-nor detection 2021-03-01 21:49:55 +01:00
mvebu kernel: fix parsing fixed subpartitions 2021-05-08 19:29:08 +02:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
octeontx kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
omap kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
oxnas gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:42:42 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips kernel: bump 5.4 to 5.4.114 2021-05-02 14:32:27 +02:00
realtek realtek: allow writing to "u-boot-env2" 2021-04-18 12:06:57 +02:00
rockchip kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
sunxi sunxi: disable LPAE on cortexa8 2021-04-11 00:00:49 +02:00
tegra kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00