1. 26 May, 2015 4 commits
    • Takashi Iwai's avatar
      ALSA: bcd2000: Make local data static · 574d69c2
      Takashi Iwai authored
      Spotted by sparse:
        sound/usb/bcd2000/bcd2000.c:73:1: warning: symbol 'devices_used' was not declared. Should it be static?
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      574d69c2
    • Takashi Iwai's avatar
      ALSA: lx6464es: Use NULL for pointers · e42e748e
      Takashi Iwai authored
      Spotted by sparse:
        sound/pci/lx6464es/lx6464es.c:415:47: warning: Using plain integer as NULL pointer
        sound/pci/lx6464es/lx6464es.c:417:48: warning: Using plain integer as NULL pointer
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e42e748e
    • Takashi Iwai's avatar
      ALSA: lx6464es: Fix duplicated SSID entries · 1983126f
      Takashi Iwai authored
      PCI_DEVICE() macro itself defines SSID entries while we override them
      after that.  Replace with a more appropriate macro, PCI_DEVICE_SUB()
      to define all ID values properly.
      
      Spotted by sparse:
        sound/pci/lx6464es/lx6464es.c:60:11: warning: Initializer entry defined twice
        sound/pci/lx6464es/lx6464es.c:61:12:   also defined here
        sound/pci/lx6464es/lx6464es.c:64:11: warning: Initializer entry defined twice
        sound/pci/lx6464es/lx6464es.c:65:12:   also defined here
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1983126f
    • Takashi Iwai's avatar
      ALSA: dummy: make local data static · e4c28688
      Takashi Iwai authored
      Add missing prefix to make some local data static.
      
      Spotted by sparse:
        sound/drivers/dummy.c:159:20: warning: symbol 'model_emu10k1' was not declared. Should it be static?
        sound/drivers/dummy.c:165:20: warning: symbol 'model_rme9652' was not declared. Should it be static?
        ....
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e4c28688
  2. 24 May, 2015 5 commits
  3. 23 May, 2015 5 commits
  4. 22 May, 2015 3 commits
  5. 21 May, 2015 1 commit
  6. 20 May, 2015 1 commit
    • Mengdong Lin's avatar
      ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda · 98d8fc6c
      Mengdong Lin authored
      The file is moved to hda core and renamed to hdac_i915.c, so can be used
      by both legacy HDA driver and new Skylake audio driver.
      
      - Add snd_hdac_ prefix to the public APIs.
      - The i915 audio component is moved to core bus and dynamically allocated.
      - A static pointer hdac_acomp is used to help bind/unbind callbacks to get
        this component, because the sound card's private_data is used by the azx
        chip pointer, which is a legacy structure. It could be removed if private
        _data changes to some core structure which can be extended to find the
        bus.
      - snd_hdac_get_display_clk() is added to get the display core clock for
        HSW/BDW.
      - haswell_set_bclk() is moved to hda_intel.c because it needs to write the
        controller registers EM4/EM5, and only legacy HD-A needs it for HSW/BDW.
      - Move definition of HSW/BDW-specific registers EM4/EM5 to hda_register.h
        and rename them to HSW_EM4/HSW_EM5, because other HD-A controllers have
        different layout for the extended mode registers.
      Signed-off-by: default avatarMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      98d8fc6c
  7. 19 May, 2015 4 commits
  8. 18 May, 2015 16 commits
  9. 12 May, 2015 1 commit