Skip to content
Commit 2d14ac7d authored by schspa's avatar schspa Committed by Tom Rini
Browse files

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: default avatarschspa <schspa@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 0171d056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment