[media] adv7842: return 0 if no change in s_dv_timings
authorMartin Bugge <marbugge@cisco.com>
Thu, 12 Dec 2013 13:10:57 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:46:57 +0000 (06:46 -0200)
commit834a8be1566f6db57a95954cc7bcc9d1e95aa80b
tree20427ea899009ec20880bd8f664b52f2d066fe53
parent15058aac06dc706c549a66f0e254046cbc844b9b
[media] adv7842: return 0 if no change in s_dv_timings

Return 0 if the new timings are equal to the current timings as
it caused extra cp-loss/lock interrupts.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c