projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297a0ae
)
[media] adv7180: Free control handler on remove()
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 7 Mar 2014 16:14:28 +0000
(13:14 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Tue, 11 Mar 2014 13:23:35 +0000
(10:23 -0300)
Make sure to free the control handler when the device is removed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7180.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/adv7180.c
b/drivers/media/i2c/adv7180.c
index 1a3622a9d0fb3a0477946b571977a8aca6d9efb1..2359fd834c9bcc3a7c3e298d37541f0f0713323b 100644
(file)
--- a/
drivers/media/i2c/adv7180.c
+++ b/
drivers/media/i2c/adv7180.c
@@
-641,6
+641,7
@@
static int adv7180_remove(struct i2c_client *client)
}
v4l2_device_unregister_subdev(sd);
+ adv7180_exit_controls(state);
mutex_destroy(&state->mutex);
return 0;
}