aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/ix2505v.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/ix2505v.c')
-rw-r--r--drivers/media/dvb/frontends/ix2505v.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/ix2505v.c b/drivers/media/dvb/frontends/ix2505v.c
index 55f2eba7bc96..6360c681ded9 100644
--- a/drivers/media/dvb/frontends/ix2505v.c
+++ b/drivers/media/dvb/frontends/ix2505v.c
@@ -72,7 +72,7 @@ static int ix2505v_read_status_reg(struct ix2505v_state *state)
72 ret = i2c_transfer(state->i2c, msg, 1); 72 ret = i2c_transfer(state->i2c, msg, 1);
73 deb_i2c("Read %s ", __func__); 73 deb_i2c("Read %s ", __func__);
74 74
75 return (ret = 1) ? (int) b2[0] : -1; 75 return (ret == 1) ? (int) b2[0] : -1;
76} 76}
77 77
78static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count) 78static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count)