commit | 24f50ba2ab6d1c07c89171ddecb3ffe2230329de | [log] [tgz] |
---|---|---|
author | qianch <quic_qianch@quicinc.com> | Fri Apr 21 15:33:06 2023 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Apr 24 03:52:15 2023 -0700 |
tree | d68f8e9a9eefff6393a2fb231ea4c9d44990e75e | |
parent | d08e0f3ab8de397fe5d6a0447e9cb2d6239a1635 [diff] |
agm: aquire a lock before updating metadata for dev_obj the metadata of dev_obj will be briefly clear to 0 when open device and set metadata, so it may cause null pointer issue when one stream starts and updates metadata but another stream with same device opens and sets metadata at same time. Change-Id: I5d374ad054cc7dee9d5c918d5ba5dcd6714b28b1