Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320647
b: refs/heads/master
c: 23ba641
h: refs/heads/master
i:
  320645: 6451454
  320643: d42bb3b
  320639: 4eae4a9
v: v3
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent 1ab0585 commit 2d2dad2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 630081e99072f94788011badd6d12707fa3ab410
refs/heads/master: 23ba641a08a5cf1194cfba8480ecfab8b6623110
6 changes: 2 additions & 4 deletions trunk/drivers/media/video/cx231xx/cx231xx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,8 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus)

BUG_ON(!dev->cx231xx_send_usb_command);

memcpy(&bus->i2c_adap, &cx231xx_adap_template, sizeof(bus->i2c_adap));
memcpy(&bus->i2c_client, &cx231xx_client_template,
sizeof(bus->i2c_client));

bus->i2c_adap = cx231xx_adap_template;
bus->i2c_client = cx231xx_client_template;
bus->i2c_adap.dev.parent = &dev->udev->dev;

strlcpy(bus->i2c_adap.name, bus->dev->name, sizeof(bus->i2c_adap.name));
Expand Down

0 comments on commit 2d2dad2

Please sign in to comment.