diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-04 19:43:02 +0900 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-07 14:48:49 +0100 |
| commit | f0dbe4aa35e73e4282d9446abb8900ab0636d483 (patch) | |
| tree | 271df6e8c28fff98759b2e63b2a6a28a02234041 /scripts/gdb/linux/utils.py | |
| parent | b04bafca67dac3c390041bbcd694973e3d3f3b7d (diff) | |
mtd: nand: mediatek: return error code of nand_scan_ident/tail() on error
The nand_scan_ident/tail() returns an appropriate error value when
it fails. Use it instead of the fixed error code -ENODEV.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
