[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)
commitf0a12d0c9272ae24491b983c4982acdacdac1baf
treea6035dedbb6ba82e6a7e132c1dff2a2c72daf59c
parent12d866ecd008ad8c9b818836fe84994ac8f80e18
[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