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)
commit6392bc2e6cd9651f98abf55c4ccaa812d3e60c17
treefe969de0f30d01980471864654bf5990b698fe97
parentbdd7682b16988a0fac07f9cf630e4fddb73e161c
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