[media] tvp514x: s_routing should just change routing, not try to detect a signal
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 20 Sep 2012 12:06:33 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:10:38 +0000 (22:10 -0300)
commitc389648a927bada928c854dccccf0301317784eb
treead0cf86a4aa514a77cfcd1bc26f107b682b2e744
parent0d4f35f3f0044303abfff57441dd1e98f96ea935
[media] tvp514x: s_routing should just change routing, not try to detect a signal

The s_routing function should not try to detect a signal. It is a really
bad idea to try to detect a valid video signal and return an error if
you can't. Changing input should do just that and nothing more.
Also don't power on the ADCs on s_routing, instead do that on querystd.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/tvp514x.c