1. 17 2月, 2009 2 次提交
  2. 03 1月, 2009 2 次提交
  3. 11 11月, 2008 2 次提交
  4. 18 10月, 2008 6 次提交
  5. 12 10月, 2008 2 次提交
  6. 04 9月, 2008 1 次提交
  7. 27 7月, 2008 1 次提交
  8. 26 7月, 2008 2 次提交
  9. 24 7月, 2008 1 次提交
  10. 20 7月, 2008 6 次提交
  11. 25 4月, 2008 2 次提交
  12. 18 2月, 2008 6 次提交
    • T
      V4L/DVB (7189): autosuspend support · 57566ad2
      Tobias Lorenz 提交于
      Together with Oliver Neukum from Novell, USB autosuspend support was added.
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      57566ad2
    • T
      V4L/DVB (7188): radio-si470x version 1.0.6 · 5caf5134
      Tobias Lorenz 提交于
      This patch combines all the finished discussions and its resulting patches from
      the mailing list.
      
      The version 1.0.6 is mainly influenced by Oliver Neukum. He found a lot of
      small issues, that are fixed with this patch now. For me the most interesting
      thing is, that it's now safer to use it on other architectures.
      
      The history for version 1.0.6 is:
      - fixed coverity checker warnings in *_usb_driver_disconnect
      - probe()/open() race by correct ordering in probe()
      - DMA coherency rules by separate allocation of all buffers
      - use of endianness macros
      - abuse of spinlock, replaced by mutex
      - racy handling of timer in disconnect, replaced by delayed_work
      - racy interruptible_sleep_on(), replaced with wait_event_interruptible()
      - handle signals in read()
      
      The driver is tested with all Debian/testing radio programs and rdsd. The patch
      is tested against checkpatch.pl v1.12.
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      5caf5134
    • M
      V4L/DVB (7183): radio-si470x: fix build warning · 83947d30
      Michael Krufky 提交于
      fix the following build warning:
      
      radio-si470x.c: In function 'si470x_get_rds_registers':
      radio-si470x.c:562: warning: format '%ld' expects type 'long int',
      		    but argument 3 has type 'unsigned int'
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      83947d30
    • T
      V4L/DVB (7110): Trivial printf warning fix (radio-si470) · 998cb082
      Tobias Lorenz 提交于
      Thanks to  Darren Salt <linux@youmustbejoking.demon.co.uk> for pointing this
      issue.
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      998cb082
    • T
      V4L/DVB (7108): radio-si470x.c: check-after-use · c3f686f1
      Tobias Lorenz 提交于
      Adrian used the coverity checker against radio-si470x and found this:
      
      > The Coverity checker spotted the following check-after-use in
      > drivers/media/radio/radio-si470x.c:
      >
      > <--  snip  -->
      > static void si470x_usb_driver_disconnect(struct usb_interface *intf)
      > {
      >         struct si470x_device *radio = usb_get_intfdata(intf);
      >
      >         del_timer_sync(&radio->timer);    <------------------
      >         flush_scheduled_work();
      >
      >         usb_set_intfdata(intf, NULL);
      >         if (radio) {                      <------------------
      >                 video_unregister_device(radio->videodev);
      >                 kfree(radio->buffer);
      >                 kfree(radio);
      >         }
      > }
      > <--  snip  -->
      >
      > Either "radio" can be NULL and this case has to be properly handled or
      > the NULL check is not required.
      
      These two lines should indeed better be inside the if statement.
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      c3f686f1
    • T
      V4L/DVB (7091): radio-si470x improvements and seldom problem fixed in tuning functions · 0e3301ec
      Tobias Lorenz 提交于
      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: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      0e3301ec
  13. 26 1月, 2008 4 次提交