Re: [PATCH 6/6] DVB API: LNA documentation

2012-09-12 Thread David Waring
it as: > > #define DVB_AUTO_LNA ((u32)~0) > INT_MIN is defined in limits.h which is an ISO standard header. Other parts of the kernel also use INT_MIN, e.g. linux/cpu.h and linux/netfilter_ipv4.h both reference INT_MIN from limits.h. -- David Waring, Software Engineer, BBC Research &

Re: recursive locking problem

2011-09-09 Thread David Waring
oid __b_thr_unsafe() { if (foo>6) foo=(foo>>1); } This way a call to a() or b() will acquire the lock once for that thread, perform all actions and then release the lock. The mutex is handled properly. Can you restructure the code so that you don't need multiple locks?

Re: DiBxxxx: fixes for 3.1/3.0

2011-08-04 Thread David Waring
"dib0700: tx buffer length is larger than 4. Not supported." errors in dmesg either. I did have a bit of trouble compiling the patches, I had to modify the dprintk(...) calls in the dib0700 patch to dprintk(dvb_usb_dib0700_debug, 0x01, ...), although these should probably be deb_info(..

Problems with Hauppauge Nova-TD (dib0070/dib7000PC)

2011-07-11 Thread David Waring
lem. Any suggestions for what I could try next to find the cause and fix this? David -- David Waring, Software Engineer, BBC Research & Development 5th Floor, Dock House, MediaCity:UK, Salford, M50 2LH -- This e-mail, and any a