[media] dvb_frontend: fix a regression with DVB-S zig-zag
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 18:01:37 +0000 (15:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 11:39:26 +0000 (08:39 -0300)
commit910a5f2e9642d5be373beae3d29e1c4a3bc7d83b
tree84a19cc5f764de21af031e1d392eda0c7bbaad14
parent3e1fd4783b2b4ae887112e6af3ce1bb1a6be19c4
[media] dvb_frontend: fix a regression with DVB-S zig-zag

Changeset 5bfaadde broke zig-zag for DVB-S drivers that don't
implement get_tune_settings() callback.

Fix the code, in order to allow it to work as before, otherwise
some channels may not be tuned anymore.

Fix Fedora Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=814404

Cc: stable@kernel.org # for Kernel v3.3
Reported-by: Michael Heijenga <database.worker@googlemail.com>
Tested-by: Michael Heijenga <database.worker@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c