video: tegra: host: add upper bound for num_syncpt_incrs
authorDeepak Nibade <dnibade@nvidia.com>
Thu, 21 Jul 2016 09:22:31 +0000 (14:22 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 28 Jul 2016 13:10:52 +0000 (06:10 -0700)
commit9428cd3805d1b07861b9cb3da6bc60794e67edbb
tree81d5596ca9001964e0b87882d58718754c62c4ca
parent87d731449f40b72195691958238ea82757bce0e5
video: tegra: host: add upper bound for num_syncpt_incrs

Check if num_syncpt_incrs are not more than number of
syncpoints available

Bug 1781393

Change-Id: Iee5070c87c8db0d6c30eb55ca03ec27c7de379ee
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1184846
(cherry picked from commit d85d48ec37173633d8efbc394b2508c710a0cda1)
Reviewed-on: http://git-master/r/1191971
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/host/bus_client.c