V4L/DVB: Fix test in copy_reg_bits()
commit7803a65d537d5155d295ea6d0db79ee14cebf777
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 20 Nov 2009 18:34:13 +0000 (20 15:34 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:43:36 +0000 (18 13:43 -0800)
treebad44ba8541a5b0ad3322f0053ac14dcb6919a2f
parent0e8bd42b299f811fd38b5f1117127db741113b04
V4L/DVB: Fix test in copy_reg_bits()

commit c95a419a5604ec8a23cd73f61e9bb151e8cbe89b upstream.

The reg_pair2[j].reg was tested twice.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/common/tuners/mxl5007t.c