From: Guennadi Liakhovetski Date: Mon, 9 Nov 2009 19:12:37 +0000 (-0300) Subject: V4L/DVB (13344): soc-camera: properly initialise the device object when reusing X-Git-Tag: v2.6.32~45^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ff9ba5f1d771e8405ec766c31f6b32c9708285;p=pandora-kernel.git V4L/DVB (13344): soc-camera: properly initialise the device object when reusing Commit ef373189f62413803b7b816c972fc154c488cdc0 "fix use-after-free Oops, resulting from a driver-core API change" fixed the Oops, but didn't correct missing device object initialisation. This patch makes unloading and reloading of soc-camera host- and client-drivers possible again. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed