]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: vivid: fill in media_device bus_info
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 6 Nov 2018 14:06:41 +0000 (09:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 19:02:10 +0000 (20:02 +0100)
commit7b26372fbd239fd0de5dc4d349691767ac01b90d
treef793b0e5a0defdd6f46e8491bff0236b1ff8b6ff
parente6cef0ba3b97744883d83867ac9d18c8b3f1b404
media: vivid: fill in media_device bus_info

[ Upstream commit e10b40f3304360d3a2d07d690ff12197f828f2c8 ]

If you create multiple vivid instances, each with their own media
device, then there was no way to tell them apart.

Fill in the bus_info so each instance has a unique bus_info string.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/vivid/vivid-core.c