[media] v4l: vsp1: Register pipe with output WPF
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Mon, 27 Feb 2017 13:40:34 +0000 (10:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 11:33:10 +0000 (08:33 -0300)
commit1531a208ed861e4bd287444f9466ffcf98383de2
tree08135862ca2d966bad815f361bc9b087f61c3228
parent1b8ce4060b02c9ebfcb75a9d91cf85fb1fb1bc1b
[media] v4l: vsp1: Register pipe with output WPF

The DRM object does not register the pipe with the WPF object. This is
used internally throughout the driver as a means of accessing the pipe.
As such this breaks operations which require access to the pipe from WPF
interrupts.

Register the pipe inside the WPF object after it has been declared as
the output.

Fixes: ff7e97c94d9f ("[media] v4l: vsp1: Store pipeline pointer in rwpf")

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_drm.c