summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYunke Cao <yunkec@google.com>2022-04-12 07:23:13 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-24 07:56:44 +0100
commit6008dea1c70e1a7df05c5e1bccd48e51ea29e670 (patch)
tree040afbe04aa60a5b92f29b0cdcb18edf6a010535 /include
parentd8fdfc66cfd720985480db42b939892e7bf65475 (diff)
downloadcachepc-linux-6008dea1c70e1a7df05c5e1bccd48e51ea29e670.tar.gz
cachepc-linux-6008dea1c70e1a7df05c5e1bccd48e51ea29e670.zip
media: entity: skip non-data link when removing reverse links
The original implementation removes reverse links for any input link and assumes the presense of sink/source. It fails when the link is a not a data link. media_entity_remove_links when there's an ancillary link can also fail. We only need to remove reverse links for a data link. Signed-off-by: Yunke Cao <yunkec@google.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions