commit | 36feac9703d5835de1699adfdc1646b9a7424a42 | [log] [tgz] |
---|---|---|
author | Marek Behún <marek.behun@nic.cz> | Sat Sep 25 02:49:18 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Mon Sep 27 07:41:45 2021 +0200 |
tree | ac8dd42b914aa465a76727c35d4e8600d7eef2ab | |
parent | 8cc87ab619a4bdac9f1d8cb3c08b5d12745db404 [diff] |
arm: mvebu: turris_omnia: fix leaked mtd device After getting MTD device via get_mtd_device_nm(), we need to put it with put_mtd_device(), otherwise we get Removing MTD device #0 (mx25l6405d) with use count 1 before booting kernel. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Pali Rohár <pali@kernel.org> Tested-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>