commit | 0386d1aa794031b7a6ed6a06ff6c648fad136594 | [log] [tgz] |
---|---|---|
author | Marek Behún <marek.behun@nic.cz> | Sat Sep 25 02:49:18 2021 +0200 |
committer | Ramon Fried <rfried.dev@gmail.com> | Tue Sep 28 18:50:55 2021 +0300 |
tree | 2f97d57b2d6fc6831e28c00d16f172bb2a09c414 | |
parent | c54800e03c23607bdcfd02b13e59df5e865ce2b5 [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>