commit | ae59dad4fef271222d65ac6afe2889eb12ea6ca9 | [log] [tgz] |
---|---|---|
author | Mike Thomas <rmthomas@sciolus.org> | Sun Nov 07 20:09:19 2010 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 09 16:31:15 2010 -0800 |
tree | d0f5faa52d1ca75c5104d6c52699b5c72d588fbc | |
parent | 2a87a0b9220f8e0e6f204b0f61dc6e15ad64ccd4 [diff] |
staging/easycap: Eliminate BKL No locking is required for normal operation of the driver, but locking is needed to prevent an Oops during some hot-unplugging scenarios. The BKL is replaced here by mutex locks together with traps to detect null pointers following asynchronous device disconnection. Signed-off-by: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>