]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IX2505V: i2c transfer error code ignored
authorMatthias Schwarzott <zzam@gentoo.org>
Sun, 7 Nov 2010 13:57:13 +0000 (10:57 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:04 +0000 (15:14 -0800)
commitd3de94dc3136848af914d94108c919e2c474c3b8
tree8da7b0cb144344f275c20135c1018959f17bd633
parent0ed0074aa8b433a8adbe4d2306d62979dd8d5c17
IX2505V: i2c transfer error code ignored

commit 13d28e4917fb6cf6898e8998f01ab83b3f468aeb upstream.

It seems that ix2505v driver ignores a i2c error in ix2505v_read_status_reg.
This looks like a typing error using (ret = 1) instead of correct (ret == 1).

Acked-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/frontends/ix2505v.c