aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/or51132.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/or51132.c')
-rw-r--r--drivers/media/dvb/frontends/or51132.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/or51132.c b/drivers/media/dvb/frontends/or51132.c
index 8ffb8daca031..c7b5785f81f2 100644
--- a/drivers/media/dvb/frontends/or51132.c
+++ b/drivers/media/dvb/frontends/or51132.c
@@ -419,7 +419,7 @@ static int or51132_read_status(struct dvb_frontend* fe, fe_status_t* status)
419 *status = 0; 419 *status = 0;
420 return -EREMOTEIO; 420 return -EREMOTEIO;
421 } 421 }
422 dprintk("%s: read_status %04x\n", __FUNCTION__, reg); 422 dprintk("%s: read_status %04x\n", __func__, reg);
423 423
424 if (reg & 0x0100) /* Receiver Lock */ 424 if (reg & 0x0100) /* Receiver Lock */
425 *status = FE_HAS_SIGNAL|FE_HAS_CARRIER|FE_HAS_VITERBI| 425 *status = FE_HAS_SIGNAL|FE_HAS_CARRIER|FE_HAS_VITERBI|
@@ -504,14 +504,14 @@ start:
504 if (retry--) goto start; 504 if (retry--) goto start;
505 return -EREMOTEIO; 505 return -EREMOTEIO;
506 } 506 }
507 dprintk("%s: modulation %02x, NTSC rej O%s\n", __FUNCTION__, 507 dprintk("%s: modulation %02x, NTSC rej O%s\n", __func__,
508 reg&0xff, reg&0x1000?"n":"ff"); 508 reg&0xff, reg&0x1000?"n":"ff");
509 509
510 /* Calculate SNR using noise, c, and NTSC rejection correction */ 510 /* Calculate SNR using noise, c, and NTSC rejection correction */
511 state->snr = calculate_snr(noise, c) - usK; 511 state->snr = calculate_snr(noise, c) - usK;
512 *snr = (state->snr) >> 16; 512 *snr = (state->snr) >> 16;
513 513
514 dprintk("%s: noise = 0x%08x, snr = %d.%02d dB\n", __FUNCTION__, noise, 514 dprintk("%s: noise = 0x%08x, snr = %d.%02d dB\n", __func__, noise,
515 state->snr >> 24, (((state->snr>>8) & 0xffff) * 100) >> 16); 515 state->snr >> 24, (((state->snr>>8) & 0xffff) * 100) >> 16);
516 516
517 return 0; 517 return 0;