From: Guennadi Liakhovetski Date: Wed, 23 Mar 2011 08:43:51 +0000 (-0300) Subject: [media] sh_mobile_csi2: fix module reloading X-Git-Tag: v2.6.39-rc6~40^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb743930eb91e5b608c4491ce1b930dfeca43943;p=pandora-kernel.git [media] sh_mobile_csi2: fix module reloading If the camera host driver (sh_mobile_ceu_camera.c) is unloaded and then reloaded, probe will fail, because camera client .set_bus_param() and .query_bus_param() methods have been set to NULL. Fix this by caching the original pointers and restoring them on driver-unbind. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed