]> git.baikalelectronics.ru Git - kernel.git/commit
media: entity: Add link_type_name() helper
authorDaniel Scally <djrscally@gmail.com>
Wed, 2 Mar 2022 22:03:02 +0000 (22:03 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 06:58:44 +0000 (07:58 +0100)
commit9f66da7b957ad7d7e170c05c0cb992ee0e4e4ba3
tree6dd0598d021589ddb737b8efb02bbd51d4f47ad2
parentc1642d3580a2fece37b02360ab096765a0996097
media: entity: Add link_type_name() helper

Now we have three types of media link, printing the right name during
debug output is slightly more complicated. Add a helper function to
make it easier.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/mc/mc-entity.c