]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Call snd_pcm_lib_hw_rates() again after codec open callback
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:06:45 +0000 (23:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:06:45 +0000 (23:06 +0200)
commit5dc54a026e2140fa6874ee391242b6303c3e6638
tree56286692fb6f3738c87572d29affee6862046b76
parent1c2845a6dfadf5339dedba0ad2946a4beaab8d62
ALSA: hda - Call snd_pcm_lib_hw_rates() again after codec open callback

The PCM rates bit field may have been changed by the codec open callback.
In that case, we need to reset rate_min and rate_max.  So, simply call
snd_pcm_lib_hw_rates() again after the codec open callback.

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