[media] IX2505V: i2c transfer error code ignored
authorMatthias Schwarzott <zzam@gentoo.org>
Sun, 7 Nov 2010 13:57:13 +0000 (10:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:46 +0000 (08:16 -0200)
commit13d28e4917fb6cf6898e8998f01ab83b3f468aeb
tree9cf0fd5b70ea6e77af0b041c6fdceb1f112ec9ec
parent62c7cdd8a16025e4d5596b8e61352960745f3707
[media] IX2505V: i2c transfer error code ignored

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>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/ix2505v.c