diff options
author | Gianluca Gennari <gennarone@gmail.com> | 2012-02-20 10:50:33 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 14:20:12 (GMT) |
commit | d138210ffa90e6c78e3f7a2c348f50e865ff735c (patch) | |
tree | fe67b12533e79aa800cdf713d710d11f75d810d8 /drivers/rtc/rtc-tegra.c | |
parent | 9bd58e77e656abe08f3f781d982bc9e29167e1c3 (diff) | |
download | linux-fsl-qoriq-d138210ffa90e6c78e3f7a2c348f50e865ff735c.tar.xz |
[media] smsdvb: fix get_frontend
In the get_frontend function, an internal copy of the dtv_frontend_properties
struct (which is never initialized) is copied over the frontend property cache
data structure, resetting everything to 0.
In particular, the delivery system is reset to 0 (which is an invalid value)
so the driver stops working as soon as a DVBv3 application calls the
get_frontend function, giving this error:
dvb_frontend_ioctl_legacy: doesn't know how to handle a DVBv3 call to delivery
system 0
This patch eliminates the unused internal copy of the dtv_frontend_properties
struct, and gives a proper implementation of the get_frontend function.
The original author of the patch is Panagiotis Malakoudis, who also tested
this new version on Ubuntu 11.10 with the latest media_build tree installed.
The original patch has been used on MIPS set-top-boxes for over one year,
but it was never posted on the linux-media list.
I ported the code to the current media_build tree (converting it to use the
dtv_frontend_properties struct) and added basic support for ISDB-T (untested).
Signed-off-by: Panagiotis Malakoudis <malakudi@gmail.com>
Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/rtc/rtc-tegra.c')
0 files changed, 0 insertions, 0 deletions