1. 27 May, 2014 2 commits
    • Fabian Frederick's avatar
      ALSA: sound/aoa/codecs/onyx.c: use static const for texts · 00a6d7b6
      Fabian Frederick authored
      'texts' is only used as source in strcpy
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      00a6d7b6
    • Arnd Bergmann's avatar
      ALSA: hda: fix tegra build · 16c23952
      Arnd Bergmann authored
      When CONFIG_PM is disabled, the CONFIG_SND_HDA_POWER_SAVE_DEFAULT symbol
      does not get defined, which causes a build error for the hda-tegra driver:
      
      hda/hda_tegra.c:80:25: error: 'CONFIG_SND_HDA_POWER_SAVE_DEFAULT' undeclared here (not in a function)
       static int power_save = CONFIG_SND_HDA_POWER_SAVE_DEFAULT;
                               ^
      /git/arm-soc/sound/pci/hda/hda_tegra.c:235:13: warning: 'hda_tegra_disable_clocks' defined but not used [-Wunused-function]
       static void hda_tegra_disable_clocks(struct hda_tegra *data)
                   ^
      
      This works around the problem by not referencing that macro
      when CONFIG_PM is disabled. Instead, we assume that it's disabled
      unconditionally and cannot be enabled at runtime.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Dylan Reid <dgreid@chromium.org>
      Cc: Stephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      16c23952
  2. 26 May, 2014 6 commits
  3. 25 May, 2014 2 commits
  4. 23 May, 2014 1 commit
  5. 22 May, 2014 2 commits
    • Takashi Iwai's avatar
      Merge tag 'asoc-v3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next · 0c1d1210
      Takashi Iwai authored
      ASoC: Updates for v3.16
      
      Lots of cleanup work going on in the core this release but very little
      visible to external users except for the new drivers that have been
      added.
      
       - Support for specifying aux CODECs in DT.
       - Removal of the deprecated mux and enum macros.
       - More moves towards full componentisation.
       - Removal of some unused I/O code.
       - Lots of cleanups, fixes and enhancements to the davinci, Freescale,
         Haswell and Realtek drivers.
       - Several drivers exposed directly in Kconfig for use with simple-card.
       - New drivers for Cirrus CS42L56, Realtek RT5639, RT5642 and RT5651 and
         ST STA350.
      0c1d1210
    • Benoit Taine's avatar
      ALSA: Replace DEFINE_PCI_DEVICE_TABLE macro use · 6f51f6cf
      Benoit Taine authored
      We should prefer `const struct pci_device_id` over
      `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines.
      This issue was reported by checkpatch.
      
      A simplified version of the semantic patch that makes this change is as
      follows (http://coccinelle.lip6.fr/):
      
      // <smpl>
      
      @@
      identifier i;
      declarer name DEFINE_PCI_DEVICE_TABLE;
      initializer z;
      @@
      
      - DEFINE_PCI_DEVICE_TABLE(i)
      + const struct pci_device_id i[]
      = z;
      
      // </smpl>
      
      It has been tested by compilation.
      Signed-off-by: default avatarBenoit Taine <benoit.taine@lip6.fr>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6f51f6cf
  6. 21 May, 2014 27 commits