Re: [PATCH v4 12/14] dfu_mtd: Ignore non-implemented lock device failure

2021-05-28 Thread Patrick DELAUNAY
On 5/19/21 8:07 AM, Sughosh Ganu wrote: On Wed, 19 May 2021 at 11:16, Masami Hiramatsu wrote: Ignore the non-implemented lock device failure on writing mtd via DFU. Without this fix, DFU write shows an error on such device even if it succeeded, because dfu->write_medium returns -EOPNOTSUPP.

Re: [PATCH v4 12/14] dfu_mtd: Ignore non-implemented lock device failure

2021-05-18 Thread Masami Hiramatsu
Hi Sughosh, 2021年5月19日(水) 15:07 Sughosh Ganu : > > > > On Wed, 19 May 2021 at 11:16, Masami Hiramatsu > wrote: >> >> Ignore the non-implemented lock device failure on writing mtd >> via DFU. Without this fix, DFU write shows an error on such device >> even if it succeeded, because dfu->write_med

Re: [PATCH v4 12/14] dfu_mtd: Ignore non-implemented lock device failure

2021-05-18 Thread Sughosh Ganu
On Wed, 19 May 2021 at 11:16, Masami Hiramatsu wrote: > Ignore the non-implemented lock device failure on writing mtd > via DFU. Without this fix, DFU write shows an error on such device > even if it succeeded, because dfu->write_medium returns -EOPNOTSUPP. > > Signed-off-by: Masami Hiramatsu >

[PATCH v4 12/14] dfu_mtd: Ignore non-implemented lock device failure

2021-05-18 Thread Masami Hiramatsu
Ignore the non-implemented lock device failure on writing mtd via DFU. Without this fix, DFU write shows an error on such device even if it succeeded, because dfu->write_medium returns -EOPNOTSUPP. Signed-off-by: Masami Hiramatsu Cc: Lukasz Majewski --- drivers/dfu/dfu_mtd.c |2 ++ 1 file c