From: Mike Isely Date: Sat, 7 Mar 2009 04:42:40 +0000 (-0300) Subject: V4L/DVB (11187): pvrusb2: Allow sub-devices to insert correctly X-Git-Tag: v2.6.30-rc1~621^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db8556805bdaed865329e55b9a1ad05f9cbd856;p=pandora-kernel.git V4L/DVB (11187): pvrusb2: Allow sub-devices to insert correctly A sub-device won't successfully attach to our I2C adapter if its class isn't set to zero. Right the class is still set to I2C_CLASS_TV_ANALOG in order to allow the old mechanism to still work. This change temporarily sets the class to zero during the interval when the sub-device attaches. This code will get removed when the old i2c layer is finally removed from the driver. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed