Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366655
b: refs/heads/master
c: 2e2d612
h: refs/heads/master
i:
  366653: 49846e7
  366651: dc78068
  366647: 19748a7
  366639: 2c2347a
  366623: d62349f
  366591: 93d68ee
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 9fc2795 commit b218d38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 15a0934201780f7a95d9fa3b910e19bf89ab25d5
refs/heads/master: 2e2d612d80c1cb829769d413a8e8bf64f64197f8
9 changes: 4 additions & 5 deletions trunk/drivers/media/platform/soc_camera/sh_mobile_csi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <linux/delay.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -324,11 +325,9 @@ static int sh_csi2_probe(struct platform_device *pdev)

priv->irq = irq;

priv->base = devm_request_and_ioremap(&pdev->dev, res);
if (!priv->base) {
dev_err(&pdev->dev, "Unable to ioremap CSI2 registers.\n");
return -ENXIO;
}
priv->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(priv->base))
return PTR_ERR(priv->base);

priv->pdev = pdev;
platform_set_drvdata(pdev, priv);
Expand Down

0 comments on commit b218d38

Please sign in to comment.