[PATCH] Fix error path in Video4Linux dpc7146 driver
commit953c48f81a59ec572ccfbe66fa2964212fb5ac09
authorMichael Hunold <hunold@linuxtv.org>
Tue, 5 Oct 2004 00:54:19 +0000 (4 17:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 5 Oct 2004 00:54:19 +0000 (4 17:54 -0700)
treeffb9f4ee77ab02d3cd186c45cea0d1ab23003569
parentd1a816b57a77481b9c63f0c8680bc535a5f03460
[PATCH] Fix error path in Video4Linux dpc7146 driver

The I2C adapter wasn't de-registered correctly in case the video card
wasn't found.  When the I2C subsystem tried to speak with the dangling
I2C adapter later on, usually an oops happened.
drivers/media/video/dpc7146.c