1. 20 1月, 2014 5 次提交
  2. 18 1月, 2014 3 次提交
  3. 16 1月, 2014 14 次提交
  4. 15 1月, 2014 16 次提交
  5. 14 1月, 2014 2 次提交
    • A
      sound: oss: remove last sleep_on users · cdef2e5f
      Arnd Bergmann 提交于
      There are three files in oss for which I could not find an easy way to
      replace interruptible_sleep_on_timeout with a non-racy version. This
      patch instead just adds a private implementation of the function, now
      named oss_broken_sleep_on, and changes over the remaining users in
      sound/oss/ so we can remove the global interface.
      
      [fixed coding style warnings by tiwai]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cdef2e5f
    • A
      sound: oss: dmasound: kill SLEEP() macro to avoid race · 1a1e0a80
      Arnd Bergmann 提交于
      The use of interruptible_sleep_on_timeout in the dmasound driver
      is questionable and we want to kill off all sleep_on variants.
      This replaces the calls with wait_event_interruptible_timeout
      where possible, to wait for a particular event instead of blocking
      in a racy way. In the sq_write function, the easiest solution is
      an open-coded prepare_to_wait loop.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1a1e0a80