]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
pci: hda: Limit sleep time when codec is off
authorSumit Bhattacharya <sumitb@nvidia.com>
Tue, 1 Dec 2015 07:17:07 +0000 (12:47 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 18 Dec 2015 17:20:33 +0000 (09:20 -0800)
commit3430167bfaa037163c5b866a198cf4367223695e
tree19fb0083436a5361496c4a9c4f4b2300c6b9fd05
parentc992cfa8df129d16fe43c1539cca4510f52ae6b5
pci: hda: Limit sleep time when codec is off

Limit sleep time to 10ms if none of the HDA pcm streams are
active. This will reduce suspend time for HDA when HDMI is
not connected.

Bug 200063987

Change-Id: I27a57486f51dd97dac18967e376c3c05ecd32539
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/839657
Reviewed-by: Sanjay Singh Chauhan <schauhan@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
sound/pci/hda/hda_codec.c