Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: fix leaked mtd device

2021-09-26 Thread Stefan Roese
On 25.09.21 02:49, Marek Behún wrote: From: Marek Behún 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 Applied to

Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: fix leaked mtd device

2021-09-26 Thread Stefan Roese
On 25.09.21 18:05, Pali Rohár wrote: On Saturday 25 September 2021 02:49:18 Marek Behún wrote: From: Marek Behún 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

Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: fix leaked mtd device

2021-09-26 Thread Stefan Roese
On 25.09.21 02:49, Marek Behún wrote: From: Marek Behún 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 Reviewed-by:

Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: fix leaked mtd device

2021-09-25 Thread Pali Rohár
On Saturday 25 September 2021 02:49:18 Marek Behún wrote: > From: Marek Behún > > 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. > >

[PATCH u-boot-marvell] arm: mvebu: turris_omnia: fix leaked mtd device

2021-09-24 Thread Marek Behún
From: Marek Behún 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 --- board/CZ.NIC/turris_omnia/turris_omnia.c | 3 +++ 1 file