]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: Move s302m specific fields into encoder context
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Sat, 31 Oct 2020 15:05:51 +0000 (16:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 06:40:16 +0000 (07:40 +0100)
commit938b986d422d46f43ee97584bbd81eef0da568d2
tree6d0f02ed8884145b445b1e557841bb000765c917
parent2c90b2f151a2448fc7e790d20fbba86778aadb79
media: vidtv: Move s302m specific fields into encoder context

A few fields used only by the tone generator in the s302m encoder
are stored in struct vidtv_encoder. Move them into
struct vidtv_s302m_ctx instead. While we are at it: fix a
checkpatch warning for long lines.

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_encoder.h
drivers/media/test-drivers/vidtv/vidtv_s302m.c
drivers/media/test-drivers/vidtv/vidtv_s302m.h