media: vivid: fix missing cec adapter name
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 26 Jul 2019 14:01:07 +0000 (10:01 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 30 Jul 2019 15:47:51 +0000 (11:47 -0400)
commit92f5b0313e37e2b37aaf8f0bb75b6c50eafb5808
treea46dd6f78d0f980c19c1dba49b718a6061da5abd
parent609488bc979f99f805f34e9a32c1e3b71179d10b
media: vivid: fix missing cec adapter name

Commit "vivid: reorder CEC allocation and control set-up" missed that the CEC adapter
needs a valid vfd->name, and that was now filled in after the CEC adapter was
created, leading to an empty adapter name.

Fill in the name earlier.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 4ee895e71abb ("media: vivid: reorder CEC allocation and control set-up")
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vivid/vivid-core.c