]> git.baikalelectronics.ru Git - kernel.git/commit
[media] omap3isp: Don't increment node entity use count when poweron fails
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 1 Apr 2011 12:12:54 +0000 (09:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Apr 2011 14:28:42 +0000 (11:28 -0300)
commit236efda6b0e2c59deabefad7b65fd6191a4b6338
tree7218ab58ff538e5958d0cc6e9e069a91f0321c3e
parent285881138489dcc1dde5a863154ee835144d0929
[media] omap3isp: Don't increment node entity use count when poweron fails

When open a device node, all entities part of the same pipeline are
powered on. If one of the entities fails to be powered on, the open
operations fails. In that case the device node entity use count must not
be incremented.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/isp.c