diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2012-02-08 18:15:50 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-02 17:39:23 -0800 |
commit | 1de7d65987afa175e552e300a2ef435bada02f08 (patch) | |
tree | bb9778db486113f8ae66f90cd76180ea0893d67c /include/linux | |
parent | 27fb4ae633b456346593c60e7dc77c4c85a625a7 (diff) |
ALSA: HDA: Prevent delay in opening hdmi pcm
When monitor is plugged in instead of reading the complete ELD buffer
only read the relavant bytes required to update pcm info. Go through
the complete ELD buffer once LPCM sad ELD information is updated in
ELD structure. This is required to reduce the delay in getting a valid
PCM information which in turn delays opening of HDMI PCM stream.
Also if a valid LPCM SAD ELD information is not available when
hdmi_pcm_open is called then instead of looping inside hdmi_pcm_open
return error to unblock other operations. User space should retry to
open HDA PCM device after some time.
Bug 931930
Bug 913739
Bug 906076
Change-Id: Iaaef3f0e361ae406c92605b056bd4dff9c2b7856
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/83143
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions