commit | 97d43a5e1430e3aefde0dd980811adc4dc715bf3 | [log] [tgz] |
---|---|---|
author | MingShu Pang <quic_mpang@quicinc.com> | Fri Sep 22 18:20:43 2023 +0800 |
committer | Mingshu Pang <quic_mpang@quicinc.com> | Mon Sep 25 01:47:08 2023 -0700 |
tree | f7f1a29de557f0b95fed7b8beef9293d7d189c13 | |
parent | 978eb819b860bc121477d9ea2cee8af40eaaa1d1 [diff] |
USBAudio: Add endstr check before reading each capability If there is extra Altset in section of last playback profile, the following profile of capture would be read as playback profile. Fix it by adding endstr check before reading string beginning of Channel/Sample Rate/Format and use "Altset " to parse profile instead of "Altset". Change-Id: I05fc7c27a0ca2ada9427146bad85a1da7ab6206f