diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:02 -0400 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:02 -0400 |
commit | 10fd27b598ce42b251b665f6922961ddac7ff90e (patch) | |
tree | b260047d582b24a41642a6834f681d712d7ffa93 /linux/drivers/media/video/au0828/au0828-i2c.c | |
parent | 3f7bd4e3eef22d1416780db3ae3300c16bc21961 (diff) | |
download | mediapointer-dvb-s2-10fd27b598ce42b251b665f6922961ddac7ff90e.tar.gz mediapointer-dvb-s2-10fd27b598ce42b251b665f6922961ddac7ff90e.tar.bz2 |
au0828: fix panic on disconnect if analog initialization failed
From: Devin Heitmueller <dheitmueller@linuxtv.org>
If the analog initialization failed to create the video device, we never
actually add the entry to the au0828_devlist. Therefore a panic occurs when
unregistering the analog subsystem.
Make it so we only remove the entry from the list if we added it to the list
in the first place.
Priority: normal
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-i2c.c')
0 files changed, 0 insertions, 0 deletions