]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpu: host1x: Fix memory access in syncpt request
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 29 May 2013 10:26:06 +0000 (13:26 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Sun, 9 Jun 2013 10:22:41 +0000 (12:22 +0200)
commit61343ef3be6bcc5484307f5dbbf03fd005b2b475
treed1e84cd83b06353a8b53a4b3673f3701347c63a1
parentee1cb9b95f5d6431002a38c760dc1f1536491c75
gpu: host1x: Fix memory access in syncpt request

This patch fixes a bad memory access in syncpoint request code. If
no syncpoints were available, the code accessed unreserved memory
area causing unexpected behaviour.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/gpu/host1x/syncpt.c