]> git.baikalelectronics.ru Git - kernel.git/commit
media: dvb-frontends/stv0910: cleanup init_search_param() and enable PLS
authorDaniel Scheller <d.scheller@gmx.net>
Tue, 26 Dec 2017 23:37:59 +0000 (18:37 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 3 Jan 2018 09:48:50 +0000 (04:48 -0500)
commitc30471f158e6f13cd9d9856209a23d2279dac51e
treefe969de0f30d01980471864654bf5990b698fe97
parent7bbd3fe79e82fe2ffe6c0894503bdc027e0c649b
media: dvb-frontends/stv0910: cleanup init_search_param() and enable PLS

Cleanup the mess in init_search_param() by utilising the new register
access macros and functions. And while at it, move the ISI and PLS setup
into separate functions, and pass the new scrambling_sequence_index (aka.
physical layer scrambling) value to set_pls.

Picked up from the dddvb upstream, adapted to the different naming of the
pls property (pls vs. scrambling_sequence_index).

Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0910.c