openwrt/target
Thibaut VARÈNE 2447bc45ec 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:08:05 +00:00
..
imagebuilder imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-09-01 08:08:04 +00:00
linux generic: platform/mikrotik: release mtd device after use 2021-09-01 08:08:05 +00:00
sdk sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives 2021-09-01 08:08:04 +00:00
toolchain target: fix copying of licenses for SDK/toolchain 2021-09-01 08:07:36 +00:00
Config.in include/image*: add support for device-tree overlays 2021-09-01 08:07:49 +00:00
Makefile