]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L: msp_attach must return 0 if no msp3400 was found.
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 29 Mar 2007 01:22:35 +0000 (21:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:15 +0000 (03:43 -0700)
commit693efbebbbb946eda32023bf9822c6b577ad29c0
treebd322b8c72179830af00e3811f59bac6b6349fb5
parent965b112793da04616630a96f22b97afbd4ff25c0
V4L: msp_attach must return 0 if no msp3400 was found.

V4L: msp_attach must return 0 if no msp3400 was found.

Returning -1 causes the probe to stop, but it should just continue
instead. This patch fixes an annoying 'i2c_adapter i2c-7: Client
creation failed at 0x44 (-1)' kernel message that appeared in 2.6.20

(cherry picked from commit 3284b4e077cb2322754ea7455b8f8af7ce3777b8)

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/msp3400-driver.c