diff options
| author | 2018-02-22 17:27:47 -0500 | |
|---|---|---|
| committer | 2018-05-04 07:57:06 -0400 | |
| commit | d4fedb0b91bc4ea585c029a6e8e0ee3dd4aad741 (patch) | |
| tree | 813fc50007d1da7a1ce5a72e1c157ccaf1253ab5 /scripts/kernel-doc | |
| parent | media: v4l: vsp1: Store pipeline pointer in vsp1_entity (diff) | |
media: v4l: vsp1: Use vsp1_entity.pipe to check if entity belongs to a pipeline
The DRM pipeline handling code uses the entity's pipe list head to check
whether the entity is already included in a pipeline. This method is a
bit fragile in the sense that it uses list_empty() on a list_head that
is a list member. Replace it by a simpler check for the entity pipe
pointer.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
