aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorGuillaume Audirac <guillaume.audirac@webag.fr>2010-05-06 08:30:25 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:35:51 -0400
commit2030c0325aa3d430b7bb9ec99da0295f49d183ef (patch)
tree0714e810051aec92a42d7edba9c564760b675628 /drivers/media/dvb
parent82751f56791918f205e11ed78d139f043ed3e458 (diff)
V4L/DVB: dvb_frontend: fix typos in comments and one function
Signed-off-by: Guillaume Audirac <guillaume.audirac@webag.fr> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 44ae89ecef94..4d45b7d6b3fb 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -465,7 +465,7 @@ static void dvb_frontend_swzigzag(struct dvb_frontend *fe)
465 if ((fepriv->state & FESTATE_SEARCHING_FAST) || (fepriv->state & FESTATE_RETUNE)) { 465 if ((fepriv->state & FESTATE_SEARCHING_FAST) || (fepriv->state & FESTATE_RETUNE)) {
466 fepriv->delay = fepriv->min_delay; 466 fepriv->delay = fepriv->min_delay;
467 467
468 /* peform a tune */ 468 /* perform a tune */
469 retval = dvb_frontend_swzigzag_autotune(fe, 469 retval = dvb_frontend_swzigzag_autotune(fe,
470 fepriv->check_wrapped); 470 fepriv->check_wrapped);
471 if (retval < 0) { 471 if (retval < 0) {
@@ -791,7 +791,7 @@ static int dvb_frontend_start(struct dvb_frontend *fe)
791 return 0; 791 return 0;
792} 792}
793 793
794static void dvb_frontend_get_frequeny_limits(struct dvb_frontend *fe, 794static void dvb_frontend_get_frequency_limits(struct dvb_frontend *fe,
795 u32 *freq_min, u32 *freq_max) 795 u32 *freq_min, u32 *freq_max)
796{ 796{
797 *freq_min = max(fe->ops.info.frequency_min, fe->ops.tuner_ops.info.frequency_min); 797 *freq_min = max(fe->ops.info.frequency_min, fe->ops.tuner_ops.info.frequency_min);
@@ -815,7 +815,7 @@ static int dvb_frontend_check_parameters(struct dvb_frontend *fe,
815 u32 freq_max; 815 u32 freq_max;
816 816
817 /* range check: frequency */ 817 /* range check: frequency */
818 dvb_frontend_get_frequeny_limits(fe, &freq_min, &freq_max); 818 dvb_frontend_get_frequency_limits(fe, &freq_min, &freq_max);
819 if ((freq_min && parms->frequency < freq_min) || 819 if ((freq_min && parms->frequency < freq_min) ||
820 (freq_max && parms->frequency > freq_max)) { 820 (freq_max && parms->frequency > freq_max)) {
821 printk(KERN_WARNING "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n", 821 printk(KERN_WARNING "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n",
@@ -1627,7 +1627,7 @@ static int dvb_frontend_ioctl_legacy(struct file *file,
1627 case FE_GET_INFO: { 1627 case FE_GET_INFO: {
1628 struct dvb_frontend_info* info = parg; 1628 struct dvb_frontend_info* info = parg;
1629 memcpy(info, &fe->ops.info, sizeof(struct dvb_frontend_info)); 1629 memcpy(info, &fe->ops.info, sizeof(struct dvb_frontend_info));
1630 dvb_frontend_get_frequeny_limits(fe, &info->frequency_min, &info->frequency_max); 1630 dvb_frontend_get_frequency_limits(fe, &info->frequency_min, &info->frequency_max);
1631 1631
1632 /* Force the CAN_INVERSION_AUTO bit on. If the frontend doesn't 1632 /* Force the CAN_INVERSION_AUTO bit on. If the frontend doesn't
1633 * do it, it is done for it. */ 1633 * do it, it is done for it. */
@@ -1726,7 +1726,7 @@ static int dvb_frontend_ioctl_legacy(struct file *file,
1726 * (stv0299 for instance) take longer than 8msec to 1726 * (stv0299 for instance) take longer than 8msec to
1727 * respond to a set_voltage command. Those switches 1727 * respond to a set_voltage command. Those switches
1728 * need custom routines to switch properly. For all 1728 * need custom routines to switch properly. For all
1729 * other frontends, the following shoule work ok. 1729 * other frontends, the following should work ok.
1730 * Dish network legacy switches (as used by Dish500) 1730 * Dish network legacy switches (as used by Dish500)
1731 * are controlled by sending 9-bit command words 1731 * are controlled by sending 9-bit command words
1732 * spaced 8msec apart. 1732 * spaced 8msec apart.