]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtdparts: fix usecount bug
authorHeiko Schocher <hs@denx.de>
Mon, 14 Jul 2014 07:17:11 +0000 (09:17 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 14 Aug 2014 13:00:57 +0000 (15:00 +0200)
commit1668d64439ecf4af64d5de2e24bb3d7c4e643b25
treef2217ab7129ba43cd58fad30af866a3673fb6942
parent412921d29e11adcb14bd1d6c5b7145af0dd10599
mtdparts: fix usecount bug

add missing put_mtd_device, so mtd->usecount gets correct
decremented in get_mtd_info().

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Tom Rini <trini@ti.com>
common/cmd_mtdparts.c