upstream: [media] tvp514x: Fix init seqeunce
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 23 Jun 2013 13:01:35 +0000 (10:01 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:45 +0000 (11:48 +0900)
commitd04445ecbee9d9cb1814f08d8fd9cddf5c898a52
tree61ebb2b9ad7d7635958ef05fef194155942ac340
parent59ed594133096e395aff277d5d7d2c60d6d2bcd2
upstream: [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