diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-27 14:54:07 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-27 14:54:07 +0000 |
commit | 0b14b001f4b716b7d53a1413de30bbdb70764651 (patch) | |
tree | 052d33dbfb70c788dc9a22f361149ec9dab6bb70 /linux/drivers/media/video/saa7134/saa7134-input.c | |
parent | f29bf2a24e9a67b1b6235c1de88a752f4b5e7994 (diff) | |
download | mediapointer-dvb-s2-0b14b001f4b716b7d53a1413de30bbdb70764651.tar.gz mediapointer-dvb-s2-0b14b001f4b716b7d53a1413de30bbdb70764651.tar.bz2 |
radio-si470x improvements and seldom problem fixed in tuning functions
From: Tobias Lorenz <tobias.lorenz@gmx.net>
I updated the radio-si470x driver another time. Here are the commented history entries:
- number of seek_retries changed to tune_timeout
The last versions checked for the end of frequency tuning by polling a si470x register.
Therefore polling depended on the usb utilization.
This was changed to have a constant timeout now.
- fixed problem with incomplete tune operations by own buffers
The last version used a shared buffer to assembly the USB HID reports.
It sometimes happened, that multiple functions were modifing this buffer simultanuously.
When sending such reports, the hardware returned USB stalls (-EPIPE).
Now buffers of the correct size (smaller than before) are allocated as local variables.
- optimization of variables
The size of some variables has been reduced to allow the compiler to generate more optimized code.
- improved error logging
At some important location, error checking was improved.
Especially the usb transfers to access si470x registers and the tuning functions were modified.
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-input.c')
0 files changed, 0 insertions, 0 deletions