diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_channel.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c index 9420538d2374..629d8a2df5bd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_channel.c +++ b/drivers/gpu/drm/nouveau/nouveau_channel.c | |||
@@ -355,7 +355,7 @@ nouveau_channel_ref(struct nouveau_channel *chan, | |||
355 | *pchan = chan; | 355 | *pchan = chan; |
356 | } | 356 | } |
357 | 357 | ||
358 | void | 358 | int |
359 | nouveau_channel_idle(struct nouveau_channel *chan) | 359 | nouveau_channel_idle(struct nouveau_channel *chan) |
360 | { | 360 | { |
361 | struct drm_device *dev = chan->dev; | 361 | struct drm_device *dev = chan->dev; |
@@ -370,6 +370,7 @@ nouveau_channel_idle(struct nouveau_channel *chan) | |||
370 | 370 | ||
371 | if (ret) | 371 | if (ret) |
372 | NV_ERROR(dev, "Failed to idle channel %d.\n", chan->id); | 372 | NV_ERROR(dev, "Failed to idle channel %d.\n", chan->id); |
373 | return ret; | ||
373 | } | 374 | } |
374 | 375 | ||
375 | /* cleans up all the fifos from file_priv */ | 376 | /* cleans up all the fifos from file_priv */ |