diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-14 06:50:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 08:45:24 -0500 |
commit | 7570800c9de39c718f84ec4ea820a788556cde4b (patch) | |
tree | 48c615ab7646383f1f42e27ce425a353e926ffa7 /drivers/media/dvb | |
parent | 9d700a0696ae241380e8ca833bb5a358620d33f6 (diff) |
[media] mb86a20s: Fix i2c read/write error messages
A script replaced err var to rc. Howerver, this script gambled
"error" string, changing it to "rcor". Revert that bad change.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/mb86a20s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/mb86a20s.c b/drivers/media/dvb/frontends/mb86a20s.c index d3ad3e75a35a..e06507d2c3b2 100644 --- a/drivers/media/dvb/frontends/mb86a20s.c +++ b/drivers/media/dvb/frontends/mb86a20s.c | |||
@@ -318,7 +318,7 @@ static int mb86a20s_i2c_writereg(struct mb86a20s_state *state, | |||
318 | 318 | ||
319 | rc = i2c_transfer(state->i2c, &msg, 1); | 319 | rc = i2c_transfer(state->i2c, &msg, 1); |
320 | if (rc != 1) { | 320 | if (rc != 1) { |
321 | printk("%s: writereg rcor(rc == %i, reg == 0x%02x," | 321 | printk("%s: writereg error (rc == %i, reg == 0x%02x," |
322 | " data == 0x%02x)\n", __func__, rc, reg, data); | 322 | " data == 0x%02x)\n", __func__, rc, reg, data); |
323 | return rc; | 323 | return rc; |
324 | } | 324 | } |
@@ -353,7 +353,7 @@ static int mb86a20s_i2c_readreg(struct mb86a20s_state *state, | |||
353 | rc = i2c_transfer(state->i2c, msg, 2); | 353 | rc = i2c_transfer(state->i2c, msg, 2); |
354 | 354 | ||
355 | if (rc != 2) { | 355 | if (rc != 2) { |
356 | rc("%s: reg=0x%x (rcor=%d)\n", __func__, reg, rc); | 356 | rc("%s: reg=0x%x (error=%d)\n", __func__, reg, rc); |
357 | return rc; | 357 | return rc; |
358 | } | 358 | } |
359 | 359 | ||