public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] DVBFE_SET_PARAMS / delsys from fe_info ioctl ?
@ 2008-03-01 16:14 Florian Lohoff
  2008-03-02 22:43 ` Manu Abraham
  0 siblings, 1 reply; 23+ messages in thread
From: Florian Lohoff @ 2008-03-01 16:14 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 1118 bytes --]


Hi,
i was wondering why i have a problem in my application that i need to
run scan once after loading the module, otherwise my DVBFE_SET_PARAMS
fails - I couldnt explain it until i looked into the kernel code - In
the dvb_frontend.c i see this code:

1738         case DVBFE_SET_PARAMS: {
1739                 struct dvb_frontend_tune_settings fetunesettings;
1740                 enum dvbfe_delsys delsys = fepriv->fe_info.delivery;
...
1783                 } else {
1784                         /* default values */
1785                         switch (fepriv->fe_info.delivery) {
...
1817                         default:
1818                                 up(&fepriv->sem);
1819                                 return -EINVAL;
1820                         }

Should the code use fepriv->feparam.delivery instead of
fepriv->fe_info.delivery to sense the right delivery system ?

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2008-03-04  1:01 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-01 16:14 [linux-dvb] DVBFE_SET_PARAMS / delsys from fe_info ioctl ? Florian Lohoff
2008-03-02 22:43 ` Manu Abraham
2008-03-02 23:36   ` Florian Lohoff
2008-03-03  0:22     ` Manu Abraham
2008-03-03  8:52       ` Florian Lohoff
2008-03-03 11:09         ` Manu Abraham
2008-03-03 11:26           ` Florian Lohoff
2008-03-03 12:03             ` Manu Abraham
2008-03-03 13:21               ` Florian Lohoff
2008-03-03 13:41                 ` Manu Abraham
2008-03-03 13:44                   ` Florian Lohoff
2008-03-03 13:55                     ` Manu Abraham
2008-03-03 14:00                       ` Florian Lohoff
2008-03-03 13:49                   ` Manu Abraham
2008-03-03 13:48                     ` Florian Lohoff
2008-03-03 14:04                       ` Manu Abraham
2008-03-03 14:03                         ` Florian Lohoff
2008-03-03 14:17                           ` Manu Abraham
2008-03-03 14:13                             ` Florian Lohoff
2008-03-03 14:24                               ` Manu Abraham
2008-03-03 14:23                                 ` Florian Lohoff
2008-03-03 21:13                 ` Christoph Pfister
2008-03-04  0:52                   ` hermann pitton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox