Skip to content

Commit 4026bfb

Browse files
lynxeye-devairlied
authored andcommitted
drm: tegra: don't leave clients host1x member uninitialized
No real problem for now, as nothing is using this, but leaving it unitialized is asking for trouble later on. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 4049508 commit 4026bfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/tegra/host1x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ int host1x_register_client(struct host1x *host1x, struct host1x_client *client)
239239
}
240240
}
241241

242+
client->host1x = host1x;
243+
242244
return 0;
243245
}
244246

0 commit comments

Comments
 (0)