openwrt/target/linux
Thibaut VARÈNE 4e385a27d6 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>
2021-05-12 10:13:12 +02:00
..
apm821xx apm821xx: MBL: correct phy-mode delay settings 2021-05-01 12:25:12 +02:00
arc770 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
archs38 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
armvirt treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
at91 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
ath25 kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
ath79 ath79: ag71xx: fix error handling for of_get_phy_mode 2021-05-10 01:19:32 +02:00
bcm27xx kernel: bump 5.4 to 5.4.115 2021-04-30 23:48:37 +02:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-12 21:09:11 +01:00
bcm53xx treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
bcm63xx kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
bcm4908 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
bmips treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
gemini treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
generic generic: platform/mikrotik: release mtd device after use 2021-05-12 10:13:12 +02:00
imx6 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
ipq40xx ipq40xx: fix hard_config partition size on MikroTik hAP-ac2 2021-05-08 12:18:43 +02:00
ipq806x kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
ipq807x treewide: remove redundant ubifs kconfig symbols 2021-04-21 10:31:07 +01:00
kirkwood kernel: fix parsing fixed subpartitions 2021-05-06 14:53:25 +02:00
lantiq treewide: consolidate named GPIO patch into hack-5.10 2021-05-09 09:15:44 +02:00
layerscape kernel: bump 5.4 to 5.4.114 2021-04-30 23:48:37 +02:00
malta treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
mediatek mediatek: reserve memory for ramoops and enable PSTORE 2021-05-08 23:36:18 +01:00
mpc85xx treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
mvebu kernel: fix parsing fixed subpartitions 2021-05-06 14:53:25 +02:00
mxs treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
octeon treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
octeontx treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
omap treewide: remove redundant ubifs kconfig symbols 2021-04-21 10:31:07 +01:00
oxnas treewide: remove redundant ubifs kconfig symbols 2021-04-21 10:31:07 +01:00
pistachio treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
ramips ramips: fix mac addresses of Youku YK1 2021-05-10 14:41:06 +02:00
realtek realtek: Fix VLAN issues introduced by multicast patches 2021-05-09 16:19:31 +02:00
rockchip treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
sunxi kernel: bump 5.4 to 5.4.112 2021-04-17 21:50:08 +02:00
tegra kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
uml treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
x86 treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
zynq kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00