mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
tegra-bpmp clocks driver makes implicit conversion of signed error code to unsigned value in recalc_rate operation. The behavior for recalc_rate, according to it's specification, should be that "If the driver cannot figure out a rate for this clock, it must return 0." Bug 3640397 Bug 4090576 Signed-off-by: Timo Alho <talho@nvidia.com> Change-Id: I96cfbe466351fde035e0de6aeae1b9e6d929cec4 Reviewed-on: https://git-master.nvidia.com/r/c/linux-stable/+/2975580 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2977080 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>