]> 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)
commite5eb8d4740aa9dd7bea50877d14aaf6f99ca764d
tree9d7c355e12f36bc3022bad280ef01e30944b2f7a
parente3ea97cfa9653b219cf50374ecbdbfb2252dd9cb
[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