upstream: [media] saa7115: add back the dropped 'found' message
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 09:59:37 +0000 (06:59 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:15 +0000 (11:48 +0900)
The saa7115 driver used to show a 'chip found' message during probe. This
was accidentally dropped during recent commits. Add it back as it is quite
useful.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/saa7115.c

index 18cf0bf..4daa81c 100644 (file)
@@ -1735,6 +1735,8 @@ static int saa711x_probe(struct i2c_client *client,
        sd = &state->sd;
        v4l2_i2c_subdev_init(sd, client, &saa711x_ops);
 
+       v4l_info(client, "%s found @ 0x%x (%s)\n", name,
+                client->addr << 1, client->adapter->name);
        hdl = &state->hdl;
        v4l2_ctrl_handler_init(hdl, 6);
        /* add in ascending ID order */