Re: [v4l-dvb-maintainer] DVB: BANDWIDTH_TO_KHZ strangeness

2007-10-22 Thread Mauro Carvalho Chehab
Em Seg, 2007-10-22 às 21:54 +0200, Adrian Bunk escreveu: > [1] except that your #else case contains the wrong value ;-) This is what happens when you try to write "quick" fixes ;) /me is needing a day with 48 hours... -- Cheers, Mauro - To unsubscribe from this list: send the line "unsubscri

Re: [v4l-dvb-maintainer] DVB: BANDWIDTH_TO_KHZ strangeness

2007-10-22 Thread Adrian Bunk
On Mon, Oct 22, 2007 at 04:29:36PM -0200, Mauro Carvalho Chehab wrote: > > > I know that in the future the linux-dvb-API will also support other > > bandwidths so I'm begging for mercy for those 3 things here to not get too > > much out-of-sync with our internal code. > > I don't see much probl

Re: [v4l-dvb-maintainer] DVB: BANDWIDTH_TO_KHZ strangeness

2007-10-22 Thread Mauro Carvalho Chehab
> I know that in the future the linux-dvb-API will also support other > bandwidths so I'm begging for mercy for those 3 things here to not get too > much out-of-sync with our internal code. I don't see much problem on keeping this for a while. However, if not causing to much troubles for you

Re: [v4l-dvb-maintainer] DVB: BANDWIDTH_TO_KHZ strangeness

2007-10-22 Thread Patrick Boettcher
Hi all, This coverity checker is great. He even finds all the things which are there because I'm lazy ;) . The dib-drivers are all generated from our internal drivers to have at least something for Linux. Because of no time there is no dedicated source for the kernel but just the processed

DVB: BANDWIDTH_TO_KHZ strangeness

2007-10-14 Thread Adrian Bunk
drivers/media/dvb/frontends/dibx000_common.h contains: <-- snip --> ... #define BANDWIDTH_TO_KHZ(v) ( (v) == BANDWIDTH_8_MHZ ? 8000 : \ (v) == BANDWIDTH_7_MHZ ? 7000 : \ (v) == BANDWIDTH_6_MHZ ? 6000 : 8000 ) ... <-- snip --> Com