summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-06-24 15:31:25 +0200
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-06-24 15:31:25 +0200
commit23fc368d1e39ccddfbbf74673e172d7c3e8391aa (patch)
tree06525a5bd57555c4c15d2bd295f3bd4927e5e270 /linux/include
parent12ca65f34438319e101f46e652524f0229f5bb74 (diff)
downloadmediapointer-dvb-s2-23fc368d1e39ccddfbbf74673e172d7c3e8391aa.tar.gz
mediapointer-dvb-s2-23fc368d1e39ccddfbbf74673e172d7c3e8391aa.tar.bz2
soc-camera: fix missing clean up on error path
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> 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> Priority: high --- drivers/media/video/soc_camera.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
Diffstat (limited to 'linux/include')
0 files changed, 0 insertions, 0 deletions