Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348727
b: refs/heads/master
c: 9a8f3f4
h: refs/heads/master
i:
  348725: abfdc04
  348723: e91df16
  348719: c0aa5f1
v: v3
  • Loading branch information
Lothar Waßmann authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 71f84e5 commit 49e52f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 4d27b2ca154eff58f4d7f34e4cd374c1070a56fc
refs/heads/master: 9a8f3f4490922dd62556a8004aa06bc3f1054894
6 changes: 4 additions & 2 deletions trunk/drivers/staging/imx-drm/ipuv3-crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static int ipu_get_resources(struct ipu_crtc *ipu_crtc,
int ret;

ipu_crtc->ipu_ch = ipu_idmac_get(ipu, pdata->dma[0]);
if (IS_ERR_OR_NULL(ipu_crtc->ipu_ch)) {
if (IS_ERR(ipu_crtc->ipu_ch)) {
ret = PTR_ERR(ipu_crtc->ipu_ch);
goto err_out;
}
Expand All @@ -472,7 +472,7 @@ static int ipu_get_resources(struct ipu_crtc *ipu_crtc,
if (pdata->dp >= 0) {
ipu_crtc->dp = ipu_dp_get(ipu, pdata->dp);
if (IS_ERR(ipu_crtc->dp)) {
ret = PTR_ERR(ipu_crtc->ipu_ch);
ret = PTR_ERR(ipu_crtc->dp);
goto err_out;
}
}
Expand Down Expand Up @@ -548,6 +548,8 @@ static int ipu_drm_probe(struct platform_device *pdev)
ipu_crtc->dev = &pdev->dev;

ret = ipu_crtc_init(ipu_crtc, pdata);
if (ret)
return ret;

platform_set_drvdata(pdev, ipu_crtc);

Expand Down

0 comments on commit 49e52f4

Please sign in to comment.