commit | 669030ac395942df146044207b0117d083ef4d23 | [log] [tgz] |
---|---|---|
author | schspa <schspa@gmail.com> | Wed Oct 20 20:15:55 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 18 18:20:06 2021 -0500 |
tree | 93894b13a8d90ec42833cac91286461172c30b7d | |
parent | 41e6ff7104c1f2c166222590eb5b2dd5fa159895 [diff] |
part: return -ENOSYS when get_info not valid. In some case, get_info() interface can be NULL, add this check to stop from crash. Signed-off-by: schspa <schspa@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>