Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226411
b: refs/heads/master
c: 63c9718
h: refs/heads/master
i:
  226409: 9b4656a
  226407: 6c749d4
v: v3
  • Loading branch information
David Cohen authored and Mauro Carvalho Chehab committed Dec 31, 2010
1 parent 3cecf1c commit 4deab5b
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: f7b74f76a3a5bcad4d2e8db76834253a63977545
refs/heads/master: 63c9718c1a4595d51f5b70ed4aed6cee5aea875b
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/ov9640.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,8 @@ static int ov9640_cropcap(struct v4l2_subdev *sd, struct v4l2_cropcap *a)
static int ov9640_video_probe(struct soc_camera_device *icd,
struct i2c_client *client)
{
struct ov9640_priv *priv = i2c_get_clientdata(client);
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct ov9640_priv *priv = to_ov9640_sensor(sd);
u8 pid, ver, midh, midl;
const char *devname;
int ret = 0;
Expand Down Expand Up @@ -788,7 +789,8 @@ static int ov9640_probe(struct i2c_client *client,

static int ov9640_remove(struct i2c_client *client)
{
struct ov9640_priv *priv = i2c_get_clientdata(client);
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct ov9640_priv *priv = to_ov9640_sensor(sd);

kfree(priv);
return 0;
Expand Down

0 comments on commit 4deab5b

Please sign in to comment.