31 #include <linux/module.h>
33 #include <linux/slab.h>
34 #include <linux/i2c.h>
60 if (0 == ((1 == i || 3 == i || 5 == i || 6 == i || 8 == i || 10 == i || 20 == i || 11 == i)
61 && (18 == o || 17 == o || 16 == o || 15 == o || 14 == o || 13 == o)))
116 "i2c_smbus_write_byte() failed, ret:%d\n", ret);
124 struct i2c_client *client = v4l2_get_subdevdata(sd);
132 .g_chip_ident = tea6415c_g_chip_ident,
136 .s_routing = tea6415c_s_routing,
140 .core = &tea6415c_core_ops,
141 .video = &tea6415c_video_ops,
144 static int tea6415c_probe(
struct i2c_client *client,
153 v4l_info(client,
"chip found @ 0x%x (%s)\n",
162 static int tea6415c_remove(
struct i2c_client *client)
164 struct v4l2_subdev *sd = i2c_get_clientdata(client);
182 .probe = tea6415c_probe,
183 .remove = tea6415c_remove,
184 .id_table = tea6415c_id,