mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
61319aef4d9cf79c56e59bf70287fb6b77058463
The following error messages are sometimes observed on boot ... tegra-nvjpg 15380000.nvjpg: failed to get icc write handle tegra-nvdec 15480000.nvdec: failed to get icc write handle tegra-nvjpg 15540000.nvjpg: failed to get icc write handle tegra-nvenc 154c0000.nvenc: failed to get icc write handle tegra-vic 15340000.vic: failed to get icc write handle tegra-nvjpg 15380000.nvjpg: failed to get icc write handle The above messages are harmless because the ICC core is returning -EPROBE_DEFER to indicate that the ICC provider is not available. When -EPROBE_DEFER is returned the kernel will attempt to probe the device again and so print an error on -EPROBE_DEFER can be misleading. Fix the above by using the function dev_err_probe() to print error messages because this function will only print an error message if the error code is not -EPROBE_DEFER. Bug 3436156 Bug 4496044 Change-Id: I47b77e5a0f2bdb817a832daa305246c8803f456b Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3075237 Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Description
No description provided