]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7e0130993adc0e032153c91fc8d37d91ffc61ad8
tree9d7c355e12f36bc3022bad280ef01e30944b2f7a
parent1fc0e72237ffa9dddcd3d2a5bf0a72795caf8f20
[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