1. 17 Jul, 2015 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm: Fix lockdep warning with nonatomic PCM ops · 67756e31
      Takashi Iwai authored
      With the nonatomic PCM ops, the system may spew lockdep warnings like:
      
       =============================================
       [ INFO: possible recursive locking detected ]
       4.2.0-rc1-jeejaval3 #12 Not tainted
       ---------------------------------------------
       aplay/4029 is trying to acquire lock:
        (snd_pcm_link_rwsem){.+.+.+}, at: [<ffffffff816fd473>] snd_pcm_stream_lock+0x43/0x60
      
       but task is already holding lock:
        (snd_pcm_link_rwsem){.+.+.+}, at: [<ffffffff816fcf29>] snd_pcm_action_nonatomic+0x29/0x80
      
       other info that might help us debug this:
        Possible unsafe locking scenario:
      
              CPU0
              ----
         lock(snd_pcm_link_rwsem);
         lock(snd_pcm_link_rwsem);
      
      Although this is false-positive as the rwsem is taken always as
      read-only for these code paths, it's certainly annoying to see this at
      any occasion.  A simple fix is to use down_read_nested() in
      snd_pcm_stream_lock() that can be called inside another lock.
      Reported-by: default avatarVinod Koul <vinod.koul@intel.com>
      Reported-by: default avatarJeeja Kp <jeeja.kp@intel.com>
      Tested-by: default avatarJeeja Kp <jeeja.kp@intel.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      67756e31
  2. 16 Jul, 2015 1 commit
  3. 14 Jul, 2015 1 commit
  4. 08 Jul, 2015 1 commit
  5. 06 Jul, 2015 1 commit
  6. 01 Jul, 2015 1 commit
  7. 29 Jun, 2015 4 commits
  8. 27 Jun, 2015 1 commit
  9. 26 Jun, 2015 2 commits
  10. 25 Jun, 2015 3 commits
  11. 23 Jun, 2015 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm: Fix pcm_class sysfs output · 60b93030
      Takashi Iwai authored
      The pcm_class sysfs of each PCM substream gives only "none" since the
      recent code change to embed the struct device.  Fix the code to point
      directly to the embedded device object properly.
      
      Fixes: ef46c7af ('ALSA: pcm: Embed struct device')
      Cc: <stable@vger.kernel.org> # v4.0+
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      60b93030
  12. 22 Jun, 2015 23 commits