diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-06-06 18:12:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-25 14:51:23 +0200 |
commit | 6194b99de9f52b9953b7cf2b48ce0da9276af9c3 (patch) | |
tree | 59f288253169717f17c00d0282c9c1b626cb5a05 /sound/pci/hda/hda_controller.c | |
parent | 79514d473b097da82f5bc0b4e41251c44e29d98c (diff) | |
download | linux-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.tar.gz linux-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.tar.bz2 linux-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.zip |
ALSA: hda - Kill the rest of snd_print*() usages
Pass the codec object so that we can replace all the rest of
snd_print*() usages with the proper device-specific print helpers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_controller.c')
-rw-r--r-- | sound/pci/hda/hda_controller.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 480bbddbd801..875e0ebf56eb 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -481,7 +481,8 @@ static int azx_pcm_prepare(struct snd_pcm_substream *substream) } azx_stream_reset(chip, azx_dev); - format_val = snd_hda_calc_stream_format(runtime->rate, + format_val = snd_hda_calc_stream_format(apcm->codec, + runtime->rate, runtime->channels, runtime->format, hinfo->maxbps, |