1. 03 8月, 2010 16 次提交
  2. 01 6月, 2010 20 次提交
  3. 21 5月, 2010 1 次提交
  4. 19 5月, 2010 3 次提交
    • M
      V4L/DVB: fix dvb frontend lockup · e36309f5
      matthieu castet 提交于
      If my dvb device is removed while in use, I got the following oops:
      
      [ 4920.484084] Call Trace:
      [ 4920.484102]  [<c102daad>] ? default_wake_function+0x0/0x8
      [ 4920.484147]  [<f8cb09e1>] ? dvb_unregister_frontend+0x95/0xcc [dvb_core]
      [ 4920.484157]  [<c1044412>] ? autoremove_wake_function+0x0/0x2d
      [ 4920.484168]  [<f8dd1af2>] ? dvb_usb_adapter_frontend_exit+0x12/0x21 [dvb_usb]
      [ 4920.484176]  [<f8dd12f1>] ? dvb_usb_exit+0x26/0x88 [dvb_usb]
      [ 4920.484184]  [<f8dd138d>] ? dvb_usb_device_exit+0x3a/0x4a [dvb_usb]
      [ 4920.484217]  [<f7fe1b08>] ? usb_unbind_interface+0x3f/0xb4 [usbcore]
      [ 4920.484227]  [<c11a4178>] ? __device_release_driver+0x74/0xb7
      [ 4920.484233]  [<c11a4247>] ? device_release_driver+0x15/0x1e
      [ 4920.484243]  [<c11a3a33>] ? bus_remove_device+0x6e/0x87
      [ 4920.484249]  [<c11a26d6>] ? device_del+0xfa/0x152
      [ 4920.484264]  [<f7fdf609>] ? usb_disable_device+0x59/0xb9 [usbcore]
      [ 4920.484279]  [<f7fdb9ee>] ? usb_disconnect+0x70/0xdc [usbcore]
      [ 4920.484294]  [<f7fdc728>] ? hub_thread+0x521/0xe1d [usbcore]
      [ 4920.484301]  [<c1044412>] ? autoremove_wake_function+0x0/0x2d
      [ 4920.484316]  [<f7fdc207>] ? hub_thread+0x0/0xe1d [usbcore]
      [ 4920.484321]  [<c10441e0>] ? kthread+0x61/0x66
      [ 4920.484327]  [<c104417f>] ? kthread+0x0/0x66
      [ 4920.484336]  [<c1003d47>] ? kernel_thread_helper+0x7/0x10
      
      If there are users (for example users == -2) :
       - dvb_unregister_frontend :
       - stop kernel thread with dvb_frontend_stop :
        - fepriv->exit = 1;
        - thread loop catch stop event and break while loop
        - fepriv->thread = NULL; and fepriv->exit = 0;
       - dvb_unregister_frontend wait on "fepriv->dvbdev->wait_queue" that fepriv->dvbdev->users==-1.
      The user finish :
       - dvb_frontend_release - set users to -1
       - don't wait wait_queue because fepriv->exit != 1
      
      => dvb_unregister_frontend never exit the wait queue.
      Signed-off-by: NMatthieu CASTET <castet.matthieu@free.fr>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e36309f5
    • D
      V4L/DVB: dvb/stv6110x: cleanup error handling · 83b6601c
      Dan Carpenter 提交于
      The "stv6110x" is NULL so we can just return directly without calling
      kfree().  Also I changed the printk() to make checkpatch.pl happy.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Reviewed-by: NManu Abraham <manu@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      83b6601c
    • D
      V4L/DVB: ngene: Add lgdt3303 and mt2131 deps to Kconfig · 1a2f7178
      Devin Heitmueller 提交于
      Add the demod and tuner dependencies required for the Avermedia m780 to the
      Kconfig for the ngene driver.
      
      Thanks to Oliver Endriss for pointing this out.
      Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1a2f7178