commit | b536c2f6f0d7337ce9be0015c51d070e6b6438e8 | [log] [tgz] |
---|---|---|
author | Jing Wang <quic_jingwa@quicinc.com> | Sun Apr 23 15:50:25 2023 +0530 |
committer | Jing Wang <quic_jingwa@quicinc.com> | Sun Apr 23 15:52:32 2023 +0530 |
tree | c3746b10e0787ada7e8f418465f5c766fa490980 | |
parent | dec27fa79fdc66736297c4603feeeb74c164f550 [diff] |
hal: Audio elite make card_state path compatible for 5.4/5.15 * Kernel 5.4 card_state will be located at /proc/asound/card%d/state The state is OFFLINE/ONLINE * Kernel 5.15 card_state will be located at /sys/kernel/snd_card/card_state The state is 0/1 * Select different path and read the state based on kernel version Change-Id: Idfed6f2097e32ccbd571bf6e04419a64dfa024ad