OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ef541
)
init.sh: handle new IntelHdmiLpeAudio driver
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 25 Mar 2017 11:27:26 +0000
(19:27 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 25 Mar 2017 11:27:26 +0000
(19:27 +0800)
The driver has already queued for kernel 4.11.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
2c0999f
..
dfe465a
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-36,7
+36,7
@@
function init_hal_audio()
;;
esac
- if
[ "`cat /proc/asound/card0/id`" = "IntelHDMI" ]
; then
+ if
grep -qi "IntelHDMI" /proc/asound/card0/id
; then
[ -d /proc/asound/card1 ] || set_property ro.hardware.audio.primary hdmi
fi
}