summaryrefslogtreecommitdiff
path: root/linux/firmware/ttusb-budget
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-09-02 00:23:09 +0200
committerJanne Grunau <j@jannau.net>2009-09-02 00:23:09 +0200
commit39c7c8c56d56cc3a3fd5128d0598944303a929df (patch)
treeddb66cd48e6419659dbd4ab12c6ba81992aff53a /linux/firmware/ttusb-budget
parent3218818d07892e9fd082cf1b3165164eae279bb5 (diff)
downloadmediapointer-dvb-s2-39c7c8c56d56cc3a3fd5128d0598944303a929df.tar.gz
mediapointer-dvb-s2-39c7c8c56d56cc3a3fd5128d0598944303a929df.tar.bz2
dvb-core: check fe->ops.set_frontend return value
From: Janne Grunau <j@jannau.net> Various frontend driver have parameter checks in their set_frontend functions and return an error if the parameters are not supported, tda10021 and cx24116 to name two. The tuning ioctls FE_SET_FRONTEND/FE_SET_PROPERTY only change values in the property cache and return before set_frontend is called. If a set_frontend call in software zigzag algorithm fails and the card was previously locked it will report a lock and the new parameters but is still tuned to the old transport. This is not detectable from userspace. This change checks the return values of fe->ops.set_frontend and changes the state to the added FESTATE_ERROR for software zigzag. No lock will be reported to userspace if the State is FESTATE_ERROR. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
Diffstat (limited to 'linux/firmware/ttusb-budget')
0 files changed, 0 insertions, 0 deletions