summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-04 20:19:43 -0400
committerSteven Toth <stoth@linuxtv.org>2008-09-04 20:19:43 -0400
commit095219cbe03bb0401bd154ab1bd6dfb831f17a5a (patch)
treea1692a783252e9ba838bbc9a564bc829fc772ecb /linux/drivers/media/video
parent9ce76a347a36dac482c79fc76a26dc7bbac22e4f (diff)
downloadmediapointer-dvb-s2-095219cbe03bb0401bd154ab1bd6dfb831f17a5a.tar.gz
mediapointer-dvb-s2-095219cbe03bb0401bd154ab1bd6dfb831f17a5a.tar.bz2
S2API: Allow the properties to call legacy ioctls
From: Steven Toth <stoth@linuxtv.org> SET_TONE and SET_VOLTAGE were not previously implemented. Two options existed. Either cut/paste from the previous ioctl handler into the process_properties function, which is code duplication. Or, split the current ioctl handler into it's two major pieces. Piece 1, responsible for input validation and semaphore acquiring Piece 2 the processing of the previous ioctls and finally, a new third pieces where the array of properties is processed, and can freely call the legacy ioctl handler without having to re-acquire the fepriv->sem semaphore. This is a clean approach and ensures the existing legacy ioctls are processed as they were previously (but with an extra function call) and allows the new API to share code without duplication. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video')
0 files changed, 0 insertions, 0 deletions