V4L/DVB (13646): sh_mobile_ceu_camera: do not mark host occupied, when adding a clien...
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 11 Dec 2009 14:15:06 +0000 (11:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 11:27:15 +0000 (09:27 -0200)
commit6ed7c03884ee7c05ff880cafb46ae20915e22e3c
treec412d8ec7f77b5108a93111114691d05fbe2f8b5
parent5d28d525452f170e30bc038955439731462a5228
V4L/DVB (13646): sh_mobile_ceu_camera: do not mark host occupied, when adding a client fails

Currently, if resetting the host interface, when adding a new client, fails, a
negative error code is returned, but the host is still marked as occupied. Fix
this bug.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c