Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331138
b: refs/heads/master
c: 53102d2
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Sep 26, 2012
1 parent 60af600 commit 088b492
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 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: 31c1d17b3edeae51b7726ef39184017e02b23604
refs/heads/master: 53102d202fe9c0368f09055753a4ffa200fe4092
20 changes: 0 additions & 20 deletions trunk/drivers/media/i2c/smiapp/smiapp-quirk.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,6 @@ void smiapp_replace_limit(struct smiapp_sensor *sensor,
sensor->limits[limit] = val;
}

int smiapp_replace_limit_at(struct smiapp_sensor *sensor,
u32 reg, u32 val)
{
struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
int i;

for (i = 0; smiapp_reg_limits[i].addr; i++) {
if ((smiapp_reg_limits[i].addr & 0xffff) != reg)
continue;

smiapp_replace_limit(sensor, i, val);

return 0;
}

dev_dbg(&client->dev, "quirk: bad register 0x%4.4x\n", reg);

return -EINVAL;
}

bool smiapp_quirk_reg(struct smiapp_sensor *sensor,
u32 reg, u32 *val)
{
Expand Down

0 comments on commit 088b492

Please sign in to comment.