Re: [alsa-cvslog] alsa-kernel: fm801: move CONFIG_VIDEO_DEV dependency to CONFIG_SND_FM801_TEA575X_BOOL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Fri, 18 Aug 2006 11:25:06 +0200,
Clemens Ladisch wrote:
> 
> Takashi Iwai wrote:
> > Clemens Ladisch wrote:
> > > Takashi Iwai wrote:
> > > > Clemens Ladisch wrote:
> > > > > files:       pci/Kconfig
> > > > > description:
> > > > > fm801: move CONFIG_VIDEO_DEV dependency to CONFIG_SND_FM801_TEA575X_BOOL
> > > > > 
> > > > > Move the CONFIG_VIDEO_DEV dependency from CONFIG_SND_FM801_TEA575X to
> > > > > CONFIG_SND_FM801_TEA575X_BOOL so that the two symbol always have
> > > > > consistent values even when compiled externally.
> > > > 
> > > > Is it a really correct fix?
> > > > It looks like that this forces CONFIG_VIDEO_DEV=y even though it's not
> > > > necessarily so.
> > > 
> > > Uh, yes.
> > > 
> > > I guess a better fix would be to change the code to not look at
> > > CONFIG_SND_FM801_TEA575X_BOOL at all.
> > 
> > Well, CONFIG_SND_FM801_TEA575X_BOOL was introduced exactly for the
> > purpose to fix the messy dependency in Kconfig, so it is apparently
> > correct (e.g. CONFIG_VIDEO_DEV has to be y if FM801 is y).
> 
> But when compiling externally when CONFIG_VIDEO_DEV isn't set,
> CONFIG_SND_FM801_TEA575X will not be set although
> CONFIG_SND_FM801_TEA575X_BOOL is set.  This will result in undefined
> references in snd-fm801 because it thinks that it can use the tuner
> functions.

Hm... right, it's confusing.

It seems that CONFIG_SND_FM801_TEA575X is also never set to m because
it evaluates CONFIG_SND_FM801_TEA575X_BOOL.  Oh my.  We have to fix
this really.

> > > I'll revert this one and do the change I proposed above over the weekend
> > > unless anybody objects.
> > 
> > I think we can keep it as it is.
> > This is a bug, of course, but can be avoided by specifying configure
> > options.
> 
> That is, I should list all card drivers/options except this one?  ;-)

I suppose you have less than 100 soundcards on a same machine? :)


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux