diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2013-05-29 12:26:07 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-06-22 12:43:54 +0200 |
commit | ece66891ff452d5643ac5a61649f632984d83c10 (patch) | |
tree | f7a71b48b831e8b06795d16098a5689509836622 /drivers/gpu/host1x/drm | |
parent | gpu: host1x: Fix memory access in syncpt request (diff) | |
download | linux-ece66891ff452d5643ac5a61649f632984d83c10.tar.xz linux-ece66891ff452d5643ac5a61649f632984d83c10.zip |
gpu: host1x: Fix client_managed type
client_managed field in syncpoint structure was defined as an
integer. The field holds, however, only a boolean value. This patch
modifies the type to boolean.
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/gpu/host1x/drm')
-rw-r--r-- | drivers/gpu/host1x/drm/gr2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x/drm/gr2d.c index 7efd97b2aaa4..27ffcf15a4b4 100644 --- a/drivers/gpu/host1x/drm/gr2d.c +++ b/drivers/gpu/host1x/drm/gr2d.c @@ -285,7 +285,7 @@ static int gr2d_probe(struct platform_device *pdev) if (!gr2d->channel) return -ENOMEM; - *syncpts = host1x_syncpt_request(dev, 0); + *syncpts = host1x_syncpt_request(dev, false); if (!(*syncpts)) { host1x_channel_free(gr2d->channel); return -ENOMEM; |