diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-06-24 10:31:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 14:29:56 -0300 |
commit | c06950ae4dccf59566fec7ae269aaeb24685c16c (patch) | |
tree | 35dce135875712b8b3d200448b811a7a888d4119 /drivers/media/common | |
parent | 14df2ccead8f6da5a9c8f904fc629aaf849b7e55 (diff) |
V4L/DVB (12160): soc-camera: fix missing clean up on error path
If soc_camera_init_user_formats() fails in soc_camera_probe(), we have to call
client's .remove() method to unregister the video device.
Reported-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions