diff options
| author | 2022-01-22 13:23:18 +0000 | |
|---|---|---|
| committer | 2022-04-24 08:07:08 +0100 | |
| commit | f2d8b6917f3bcfb3190eb80567fea71a9b59dbd3 (patch) | |
| tree | e3909757b20eed89588b2be2ba593d0db4901a16 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | media: mc: Set bus_info in media_device_init() (diff) | |
| download | linux-dev-f2d8b6917f3bcfb3190eb80567fea71a9b59dbd3.tar.xz linux-dev-f2d8b6917f3bcfb3190eb80567fea71a9b59dbd3.zip | |
media: v4l: ioctl: Set bus_info in v4l_querycap()
The bus_info field is set by most drivers based on the type of the device
bus as well as the name of the device. Do this in v4l_querycap() so
drivers don't need to. This keeps compatibility with non-default and silly
bus_info.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
