[linux-dvb] Oops in tda10023

Antti Palosaari crope at iki.fi
Fri May 30 16:35:05 CEST 2008


e9hack wrote:
> Antti Palosaari schrieb:
>> Sigmund Augdal wrote:
>>> using latest hg v4l-dvb on a 2.6.20 kernel.
>> I did some changes recently to tda10023 (needed for Anysee driver). I 
>> wonder if these errors start coming after that? Those changes are 
>> committed to master only few days ago, 05/26/2008.
> 
> I think the oops occurs, because tda10023_writereg() fails in tda10023_attach(). If 
> tda10023_writereg fails, an error message is printed. In this case, 
> state->frontend.dvb->num is accessed, but it isn't initialized yet.

hmm, I see the problem now. Originally state was initialized before 
tda10023_writereg() was called but after I did some changes this is not 
done anymore. And when writereg() fails in attach some reason it oops.

Antti
-- 
http://palosaari.fi/



More information about the linux-dvb mailing list