diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 09:26:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-04-13 14:55:06 +0200 |
commit | c8dd707805af100965c93cdca7d61e61165e9c07 (patch) | |
tree | 3e52f277690e46a58b45cd4c6a9f715ef4c989b0 /drivers/infiniband | |
parent | [media] imx074: return a meaningful error code instead of -1 (diff) | |
download | linux-c8dd707805af100965c93cdca7d61e61165e9c07.tar.xz linux-c8dd707805af100965c93cdca7d61e61165e9c07.zip |
[media] soc-camera: don't dereference I2C client after it has been removed
i2c_unregister_device() frees the I2C client, so, dereferencing it
afterwards is a bug, that leads to Oopses.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions