ALSA: hda - bug fix on references without checking CONFIG_SND_HDA_POWER_SAVE
authorMengdong Lin <mengdong.lin@intel.com>
Fri, 24 Aug 2012 04:06:30 +0000 (12:06 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Aug 2012 05:22:42 +0000 (07:22 +0200)
The patch to support runtime PM introduced a bug:
Module parameter 'power_save_controller', and the codec flag 'd3_stop_clk'
'd3_stop_clk_ok' are defined only when HDA power save is enabled in config. But
there are references to them without checking macro CONFIG_SND_HDA_POWER_SAVE.

This patch is to fix the bug.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found