media: dvb_frontend: ensure that the step is ok for both FE and tuner
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 5 Jul 2018 22:59:37 +0000 (18:59 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 2 Aug 2018 22:11:46 +0000 (18:11 -0400)
commit6a2a1ca34ca68025df793a1bedfba658be2b1952
treee3d1129400b09e1675f59cdf853f2b8698ebbe13
parentf1b1eabff0eb3fc46b06668de8174c0f23b271fd
media: dvb_frontend: ensure that the step is ok for both FE and tuner

The frequency step should take into account the tuner step,
as, if tuner step is bigger than frontend step, the zigzag
algorithm won't be doing the right thing, as it will be
tuning multiple times at the same frequency.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-core/dvb_frontend.c