]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit70d321e6380f128096429d6e5b678f94ab0cef5d
tree56286692fb6f3738c87572d29affee6862046b76
parent022b466fc353d3dc7a152451144be656248666ce
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