The latest kernel of raspberry PI is unstable, so do this anyway to make sure the driver loads correctly

This commit is contained in:
Baozhu Zuo 2019-07-25 19:39:07 +08:00 committed by GitHub
parent 08f0d96d68
commit 277aeacb81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,9 +129,10 @@ if [ "$overlay" ]; then
do_overlay $i 1 do_overlay $i 1
fi fi
done done
else
dtoverlay $overlay
fi fi
#make sure the driver loads correctly
dtoverlay $overlay || true
echo "create $overlay asound configure file" echo "create $overlay asound configure file"
ln -s $asound_conf /etc/asound.conf ln -s $asound_conf /etc/asound.conf