ALSA: hda - use usleep_range in link reset and change timeout check
authorMengdong Lin <mengdong.lin@intel.com>
Wed, 12 Dec 2012 14:16:15 +0000 (09:16 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Dec 2012 10:03:12 +0000 (11:03 +0100)
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>

No differences found