aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorNicolas Stuardo Diaz <nicolasstuardodiaz@gmail.com>2020-12-22 04:05:23 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-23 08:29:37 +0100
commitc277077bab0d1057c065bc65a1c72885dc566c4b (patch)
tree6c16a949cac14dd94666fe703aa1c22b0527b802 /drivers/staging/media
parentmedia: camera-sensor.rst: fix c:function build warning (diff)
downloadlinux-dev-c277077bab0d1057c065bc65a1c72885dc566c4b.tar.xz
linux-dev-c277077bab0d1057c065bc65a1c72885dc566c4b.zip
media: media/siano: Fix transmission parameters reporting for ISDB-T
The currently used functions for converting the transmission mode and guard interval from the internal values to the DVBv5 API values do not return correct values for ISDB broadcasts: - The raw (debugfs) transmission mode is an integer whose values can be 1, 2 or 3, that corresponds to 2K, 4K and 8K FFT modes respectively. However sms_to_mode() expects values 2, 4 or 8. - Guard interval, as defined by smscoreapi.h returns "1 divided by value" instead of 0, 1, 2, and 3 as defined in sms_to_guard_interval_table(). This commit implements ISDB-T specific methods for converting the internal values for the aforementioned parameters to the DVBv5 API values. It also adds support for reporting FEC and time interleaving values for each one of the layers. [mchehab: fix two coding style whitespace warnings] Link: https://lore.kernel.org/linux-media/20201222030522.28774-1-nicolasstuardodiaz@gmail.com Signed-off-by: Nicolas Stuardo Diaz <nicolasstuardodiaz@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions