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
Loading
Please register or sign in to comment