mirror of
https://github.com/openharmony/third_party_alsa-utils.git
synced 2026-07-19 12:42:03 -04:00
257f3063fa
The driver may export only write-only elements. The previous heuristics code do not handle this use case correctly. Iterate through all elements and skip the write-only ones. Fixes: https://github.com/alsa-project/alsa-utils/issues/122 Signed-off-by: Jaroslav Kysela <perex@perex.cz>