mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
e8beb761bb5fbb2f3a062f5f643a09eae26f32bf
Currently, the DLA driver does not return an error if the ICC write handle is not found and so it is possible that ICC failures will go undetected. By using dev_err_probe(), error messages are only printed if the error is not -EPROBE_DEFER. If an -EPROBE_DEFER error is returned from the ICC, then no error message is printed because probe is being deferred and we will try to probe the driver again later. This ensures that the DLA driver will wait for the ICC to be ready and if any other error occurs, then an error message will be displayed and the proper error code returned. Bug 4496044 Change-Id: I88632d7c6f7f1b83e0a69e4b132404a77fc090ec Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3084821 Reviewed-by: Johnny Liu <johnliu@nvidia.com> Reviewed-by: Arvind M <am@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Description
No description provided