[media] v4l: vsp1: dl: Fix race conditions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 3 Mar 2016 12:26:47 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 22:12:12 +0000 (19:12 -0300)
commitd2c1b028db2e0b153f1aff28e3010a494c8aadc1
tree06666bac9d7a264672e460d3c8f52ba38647c4dc
parentb25854e134e9a28c600937ac2320d65c1530283e
[media] v4l: vsp1: dl: Fix race conditions

The vsp1_dl_list_put() function expects to be called with the display
list manager lock held. This assumption is correct for calls from within
the vsp1_dl.c file, but not for the external calls. Fix it by taking the
lock inside the function and providing an unlocked version for the
internal callers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_dl.c
This page took 0.02504 seconds and 5 git commands to generate.