commit | cb743930eb91e5b608c4491ce1b930dfeca43943 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Mar 23 05:43:51 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Apr 13 09:55:38 2011 -0300 |
tree | 5c54a2f5f1c90affea51917a21c1e928dc0638c9 | |
parent | c8dd707805af100965c93cdca7d61e61165e9c07 [diff] |
[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 <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>