diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 09:43:51 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-04-13 14:55:38 +0200 |
commit | cb743930eb91e5b608c4491ce1b930dfeca43943 (patch) | |
tree | 5c54a2f5f1c90affea51917a21c1e928dc0638c9 /crypto/aes_generic.c | |
parent | [media] soc-camera: don't dereference I2C client after it has been removed (diff) | |
download | linux-cb743930eb91e5b608c4491ce1b930dfeca43943.tar.xz linux-cb743930eb91e5b608c4491ce1b930dfeca43943.zip |
[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>
Diffstat (limited to 'crypto/aes_generic.c')
0 files changed, 0 insertions, 0 deletions