X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Fdpc7146.c;h=d54244413805c92e59e52d46a806beaf1355d7b9;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=3944f3f6af7a398c15851609aede54d6ca7861f6;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/media/video/dpc7146.c b/drivers/media/video/dpc7146.c index 3944f3f6a..d54244413 100644 --- a/drivers/media/video/dpc7146.c +++ b/drivers/media/video/dpc7146.c @@ -123,6 +123,7 @@ static int dpc_probe(struct saa7146_dev* dev) /* check if all devices are present */ if( 0 == dpc->saa7111a ) { DEB_D(("dpc_v4l2.o: dpc_attach failed for this device.\n")); + i2c_del_adapter(&dpc->i2c_adapter); kfree(dpc); return -ENODEV; }