[PATCHv2 5/7] gpu: host1x: Fix memory access in syncpt request

2013-05-29 Thread Arto Merilainen
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 --- drivers/gpu/host1x/syncpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCHv2 5/7] gpu: host1x: Fix memory access in syncpt request

2013-05-29 Thread Arto Merilainen
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 amerilai...@nvidia.com --- drivers/gpu/host1x/syncpt.c | 3 ++- 1 file changed, 2 insertions(+),