sm6375-common: Import vendor files for the Linux 6.1 port
Extracted from malmo_g W1UOS36H.35-39-8 and device-specific compatibility overrides. Device extraction scripts preserve the build compatibility fixups.
This commit is contained in:
commit
5d0291f99e
936 files changed
+60890
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
#!/vendor/bin/sh
|
||||
#=============================================================================
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#=============================================================================
|
||||
|
||||
write_with_check() {
|
||||
local i=60
|
||||
while [ $i -gt 0 ]
|
||||
do
|
||||
if [ -f "$1" ]; then
|
||||
break
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
i=$(($i-1))
|
||||
done
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo $2 > $1
|
||||
}
|
||||
|
||||
write_with_check "$1" "$2"
|
||||
Reference in new issue
Block a user