ALSA: hda - Pass max_slots and power_save to codec_create
authorDylan Reid <dgreid@chromium.org>
Fri, 28 Feb 2014 23:41:19 +0000 (15:41 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Mar 2014 10:21:43 +0000 (11:21 +0100)
commite62a42aebd7c97977d8ae0bca8de40d26254a1cd
treeda59fdcc89184db987b434e4e018c7c7829ef89d
parent749ee287fc937d8026fb459b7574d39745c0cbb9
ALSA: hda - Pass max_slots and power_save to codec_create

Passing the max slots and power save arguments to codec_create will
allow for its reuse by an hda_platform driver. It makes the function
independent of the module params in hda_intel and ready to move to
hda_shared in a following commit.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c