staging: bcm2835-codec: Add role to device name
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Wed, 20 Mar 2019 11:55:43 +0000 (11:55 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:05 +0000 (16:33 +0100)
commitf95c79ce896dfc7a1e89c39b51f938c5f637b220
tree930c83f5e89aa4b18831c0fad340f52feb746910
parentc309544b12803bed90168e38b275ee5afabc69c7
staging: bcm2835-codec: Add role to device name

Three entities are created, Decode, Encode and ISP but all of the video
nodes use the same video name string "bcm2835-codec" which makes it
difficult to identify each role.

Append the role-name to the video name to facilitate identifying a
specific instance from userspace.

The Card-Type is also extended with the role name to support identifying
the device context from within QUERY_CAP operations.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c