1. 07 7月, 2014 1 次提交
    • T
      ALSA: hda: Fix build warning · 525549d7
      Thierry Reding 提交于
      The hda_tegra_disable_clocks() function is only used by the suspend and
      resume code, so it needs to be included in the #ifdef CONFIG_PM_SLEEP
      block to prevent the following warning:
      
        CC      sound/pci/hda/hda_tegra.o
      sound/pci/hda/hda_tegra.c:238:13: warning: 'hda_tegra_disable_clocks' defined but not used [-Wunused-function]
       static void hda_tegra_disable_clocks(struct hda_tegra *data)
                   ^
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      525549d7
  2. 01 7月, 2014 2 次提交
  3. 27 6月, 2014 2 次提交
  4. 27 5月, 2014 1 次提交
    • A
      ALSA: hda: fix tegra build · 16c23952
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: Dylan Reid <dgreid@chromium.org>
      Cc: Stephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      16c23952
  5. 21 5月, 2014 1 次提交
  6. 20 5月, 2014 1 次提交