]> Pileus Git - ~andy/linux/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>
Sat, 22 Jun 2013 10:43:54 +0000 (12:43 +0200)
commitedeabfcbc150a48e56dd411195ef812134983d6f
tree0c0d5c24edb5374eb483a6863213e4e59272604a
parent3364cd28906d87f0c77754998679bb66639d4112
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