1. 22 4月, 2013 1 次提交
    • A
      [media] cx88: Fix unsafe locking in suspend-resume · 5ddfbbb9
      Alexey Khoroshilov 提交于
      Legacy PCI suspend-resume handlers are called with interrupts enabled.
      
      But cx8800_suspend/cx8800_resume and
      cx8802_suspend_common/cx8802_resume_common use spin_lock/spin_unlock
      functions to acquire dev->slock, while the same lock is acquired in the
      corresponding irq-handlers: cx8800_irq and cx8802_irq.
      
      That means a deadlock is possible if an interrupt happens while suspend
      or resume owns the lock. The patch replaces spin_lock/spin_unlock with
      spin_lock_irqsave/spin_unlock_irqrestore.
      
      Found by Linux Driver Verification project (linuxtesting.org).
      
      [mchehab@redhat.com: Fix CodingStyle]
      Signed-off-by: NAlexey Khoroshilov <khoroshilov@ispras.ru>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      5ddfbbb9
  2. 24 3月, 2013 4 次提交
  3. 04 1月, 2013 1 次提交
    • G
      Drivers: media: remove __dev* attributes. · 4c62e976
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c62e976
  4. 07 10月, 2012 1 次提交
  5. 02 10月, 2012 1 次提交
  6. 16 8月, 2012 1 次提交
  7. 07 7月, 2012 9 次提交
  8. 27 8月, 2011 1 次提交
  9. 28 7月, 2011 3 次提交
  10. 20 5月, 2011 2 次提交
  11. 22 3月, 2011 3 次提交
  12. 03 1月, 2011 1 次提交
  13. 29 12月, 2010 1 次提交
  14. 22 11月, 2010 1 次提交
  15. 18 11月, 2010 1 次提交
  16. 23 10月, 2010 3 次提交
  17. 21 10月, 2010 4 次提交
  18. 19 5月, 2010 2 次提交