]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tvp514x: Fix init seqeunce
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 23 Jun 2013 13:01:35 +0000 (10:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 28 Jun 2013 18:08:43 +0000 (15:08 -0300)
commit307e9c233db657ae91ea6e083eaae8d538cb1743
treea6035dedbb6ba82e6a7e132c1dff2a2c72daf59c
parente695f55b3f2f50ba66940b1542d6f2a68eca95ca
[media] tvp514x: Fix init seqeunce

client->driver->id_table will always point to the first entry in the device id
table. So all devices will use the same init sequence. Use the id table entry
that gets passed to the driver's probe() function to get the right init
sequence.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/tvp514x.c