Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281349
b: refs/heads/master
c: 65b0bd0
h: refs/heads/master
i:
  281347: 7d8615a
v: v3
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Dec 13, 2011
1 parent 132da97 commit 8746b0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b369839b88d6ffd9ad5b4f9362d6bb09a0e16c10
refs/heads/master: 65b0bd067df97737b9a13d92934d8f581cb0b07a
3 changes: 1 addition & 2 deletions trunk/drivers/staging/omapdrm/omap_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ struct drm_crtc *omap_crtc_init(struct drm_device *dev,

fail:
if (crtc) {
drm_crtc_cleanup(crtc);
kfree(omap_crtc);
omap_crtc_destroy(crtc);
}
return NULL;
}
3 changes: 1 addition & 2 deletions trunk/drivers/staging/omapdrm/omap_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ struct drm_encoder *omap_encoder_init(struct drm_device *dev,

fail:
if (encoder) {
drm_encoder_cleanup(encoder);
kfree(omap_encoder);
omap_encoder_destroy(encoder);
}

return NULL;
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/staging/omapdrm/omap_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ static void omap_framebuffer_destroy(struct drm_framebuffer *fb)

drm_framebuffer_cleanup(fb);

if (omap_gem_put_paddr(omap_fb->bo)) {
dev_err(dev->dev, "could not unmap!\n");
}

if (omap_fb->bo) {
if (omap_fb->paddr && omap_gem_put_paddr(omap_fb->bo))
dev_err(dev->dev, "could not unmap!\n");
drm_gem_object_unreference_unlocked(omap_fb->bo);
}

Expand Down

0 comments on commit 8746b0a

Please sign in to comment.