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>

+1
+1
sound/pci/hda/hda_intel.c
··· 1454 mutex_unlock(&chip->open_mutex); 1455 return err; 1456 } 1457 spin_lock_irqsave(&chip->reg_lock, flags); 1458 azx_dev->substream = substream; 1459 azx_dev->running = 0;
··· 1454 mutex_unlock(&chip->open_mutex); 1455 return err; 1456 } 1457 + snd_pcm_limit_hw_rates(runtime); 1458 spin_lock_irqsave(&chip->reg_lock, flags); 1459 azx_dev->substream = substream; 1460 azx_dev->running = 0;