vic.c (728d90bdc9e480dc93913e59a0aa3c896c7aa697) | vic.c (caccddcfc4b4de75930df2e8f7fd0c66556b13ff) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, NVIDIA Corporation. 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/host1x.h> --- 184 unchanged lines hidden (view full) --- 193 dev_err(vic->dev, "failed to attach to domain: %d\n", 194 err); 195 return err; 196 } 197 198 vic->domain = tegra->domain; 199 } 200 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, NVIDIA Corporation. 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/host1x.h> --- 184 unchanged lines hidden (view full) --- 193 dev_err(vic->dev, "failed to attach to domain: %d\n", 194 err); 195 return err; 196 } 197 198 vic->domain = tegra->domain; 199 } 200 |
201 vic->channel = host1x_channel_request(client->dev); | 201 vic->channel = host1x_channel_request(client); |
202 if (!vic->channel) { 203 err = -ENOMEM; 204 goto detach; 205 } 206 207 client->syncpts[0] = host1x_syncpt_request(client, 0); 208 if (!client->syncpts[0]) { 209 err = -ENOMEM; --- 294 unchanged lines hidden --- | 202 if (!vic->channel) { 203 err = -ENOMEM; 204 goto detach; 205 } 206 207 client->syncpts[0] = host1x_syncpt_request(client, 0); 208 if (!client->syncpts[0]) { 209 err = -ENOMEM; --- 294 unchanged lines hidden --- |