device/generic/common
リビジョン | b6aeae2ff4024cab0c0bbe1084d78ec98b929670 (tree) |
---|---|
日時 | 2017-03-25 20:27:26 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
init.sh: handle new IntelHdmiLpeAudio driver
The driver has already queued for kernel 4.11.
@@ -36,7 +36,7 @@ function init_hal_audio() | ||
36 | 36 | ;; |
37 | 37 | esac |
38 | 38 | |
39 | - if [ "`cat /proc/asound/card0/id`" = "IntelHDMI" ]; then | |
39 | + if grep -qi "IntelHDMI" /proc/asound/card0/id; then | |
40 | 40 | [ -d /proc/asound/card1 ] || set_property ro.hardware.audio.primary hdmi |
41 | 41 | fi |
42 | 42 | } |