[media] dvb-core: fix a regression with MythTV
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 13 Jan 2012 13:09:23 +0000 (11:09 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 15 Jan 2012 13:12:21 +0000 (11:12 -0200)
commitf4b1952a453f4b4b4c4cd3436b9cd632bf4202aa
tree9d7c355e12f36bc3022bad280ef01e30944b2f7a
parent126400033940afb658123517a2e80eb68259fbd7
[media] dvb-core: fix a regression with MythTV

As reported by Lawrence[1], MythTV 0.24.1 does the wrong thing
with a DVBv5 call: it fills the delivery system with
SYS_UNDEFINED, expecting that the DVB core would work with that.

This used to work by accident, as the DVB core were missing the
check for the supported delivery systems. Yet, fixing it
is easy, so let's add a logic to handle this case, to
provide backward compatibility.

[1] http://patchwork.linuxtv.org/patch/8314/

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c