From c3ddbb521da74f29b49f5b95a03a46d49cc4f779 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Thu, 13 Aug 2020 16:20:25 +0100 Subject: [PATCH] likely v5 kernels behave like late 4.x, regarding dynamic dtoverlay; untested, and possibly revisit. --- seeed-voicecard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seeed-voicecard b/seeed-voicecard index 5c9fa16..f693ed3 100755 --- a/seeed-voicecard +++ b/seeed-voicecard @@ -127,7 +127,7 @@ if [ "$overlay" ]; then # TODO: dynamic dtoverlay Bug of v4.19.x # no DT node phandle inserted. - if [[ "$kernel_ver" =~ ^4\.19.*$ ]]; then + if [[ "$kernel_ver" =~ ^4\.19.*$ || "$kernel_ver" =~ ^5\.*$ ]]; then for i in $RPI_HATS; do if [ "$i" == "$overlay" ]; then do_overlay $overlay 0