]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e0f22fed958db66187a9fa41061da9b4a1fd20f
treec412d8ec7f77b5108a93111114691d05fbe2f8b5
parent0039f558fa90853c818255ad9cdf0f004eb3a522
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