commit | fa348da53b6ffd3dcebae288d4072a4571755d35 | [log] [tgz] |
---|---|---|
author | Mengdong Lin <mengdong.lin@intel.com> | Wed Dec 12 09:16:15 2012 -0500 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Dec 12 11:03:12 2012 +0100 |
tree | bcfdb27314cbd6182c499a3fabb22f762241f8a4 | |
parent | 6121b84af33fcec843a082cb6bc8d39f187faa20 [diff] |
ALSA: hda - use usleep_range in link reset and change timeout check Reducing the time on HDA link reset can help to reduce the driver loading time. So we replace msleep with usleep_range to get more accurate time control and change the value to a smaller one. And a 100ms timeout is set for both entering and exiting the link reset. Signed-off-by: Xingchao Wang <xingchao.wang@intel.com> Signed-off-by: Mengdong Lin <mengdong.lin@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>