OSDN Git Service

[media] drivers/media: vsp1_video: fix compile error
authorAnders Roxell <anders.roxell@linaro.org>
Fri, 15 Jan 2016 00:09:43 +0000 (22:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 11:13:13 +0000 (09:13 -0200)
commit1b4ca5aa9e0867f5cec40f9508dac7414f3b6998
tree07ed177484f1701597ae8b6a67ff6bd228146e02
parent9b4b92645c5edf16b9e77c5956e13b040ba5ed0f
[media] drivers/media: vsp1_video: fix compile error

This was found with the -RT patch enabled, but the fix should apply to
non-RT also.

Compilation error without this fix:
../drivers/media/platform/vsp1/vsp1_video.c: In function
'vsp1_pipeline_stopped':
../drivers/media/platform/vsp1/vsp1_video.c:524:2: error: expected
expression before 'do'
  spin_unlock_irqrestore(&pipe->irqlock, flags);
    ^

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_video.c