diff options
| author | Anson Huang <[email protected]> | 2019-05-24 05:51:01 +0000 |
|---|---|---|
| committer | Shawn Guo <[email protected]> | 2019-06-05 06:09:24 +0000 |
| commit | 4c396a604a57da8f883a8b3368d83181680d6907 (patch) | |
| tree | eb43d32adfcc342d6f974af60277bc071e080b0a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | soc: imx: soc-imx8: Avoid unnecessary of_node_put() in error handling (diff) | |
| download | kernel-4c396a604a57da8f883a8b3368d83181680d6907.tar.gz kernel-4c396a604a57da8f883a8b3368d83181680d6907.zip | |
soc: imx: soc-imx8: Correct return value of error handle
Current implementation of i.MX8 SoC driver returns -ENODEV
for all cases of error during initialization, this is incorrect.
This patch fixes them using correct return value according
to different errors.
Signed-off-by: Anson Huang <[email protected]>
Reviewed-by: Leonard Crestez <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
