1. 09 1月, 2009 1 次提交
    • W
      ALSA: hda - create hda_codec.control_mutex for kcontrol->private_value · 5a9e02e9
      Wu Fengguang 提交于
      Fix the following lockdep warning by not reusing the hda_codec.spdif_mutex.
      
          ALSA sound/pci/hda/hda_codec.c:882: hda_codec_cleanup_stream: NID=0x2
      
          =======================================================
          [ INFO: possible circular locking dependency detected ]
          2.6.28-next-20090102 #33
          -------------------------------------------------------
          mplayer/3151 is trying to acquire lock:
           (&pcm->open_mutex){--..}, at: [<ffffffffa004ced3>] snd_pcm_release+0x43/0xd0 [snd_pcm]
      
          but task is already holding lock:
           (&mm->mmap_sem){----}, at: [<ffffffff810c0252>] sys_munmap+0x42/0x80
      
          which lock already depends on the new lock.
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5a9e02e9
  2. 08 1月, 2009 2 次提交
  3. 07 1月, 2009 3 次提交
  4. 03 1月, 2009 2 次提交
  5. 01 1月, 2009 2 次提交
  6. 24 12月, 2008 1 次提交
  7. 21 12月, 2008 2 次提交
  8. 20 12月, 2008 4 次提交
  9. 19 12月, 2008 14 次提交
  10. 18 12月, 2008 4 次提交
  11. 16 12月, 2008 3 次提交
  12. 11 12月, 2008 2 次提交
    • T
      ALSA: hda - Fix a compile warning when CONFIG_PM=n · 5c0b9bec
      Takashi Iwai 提交于
      Fixed the compile warning regarding the unused function when built
      with CONFIG_PM=n:
        sound/pci/hda/hda_intel.c:1905: warning: ‘snd_hda_codecs_inuse’ defined but not used
      
      snd_hda_codecs_inuse() is used only in the resume callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5c0b9bec
    • T
      ALSA: cs5535 - Make OLPC-stuff depending on MGEODE_LX · f144b7f6
      Takashi Iwai 提交于
      The GPIO stuff for OLPC in cs5535audio_olpc.c is implemented only for
      Geode-LX, and enabled only when CONFIG_MGEODE_LX=y.  Without this
      config option, the driver gets build errors.
      
      This patch adds a workaround to make it dependent on CONFIG_MGEODE_LX.
      
      Ideally, the OLPC-GPIO stuff should be implemented in a way
      independent from CPU type selection...
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f144b7f6