patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi)

This commit is contained in:
The-going
2025-06-05 14:11:41 +03:00
committed by Igor
parent 699816ddf2
commit 8762476502
2 changed files with 219 additions and 1 deletions

View File

@@ -525,7 +525,11 @@ driver_uwe5622() {
fi
if linux-version compare "${version}" ge 6.15; then
process_patch_file "${SRC}/patch/misc/wireless-uwe5622/uwe5622-v6.15-timer-api-changes.patch" "applying"
if [[ "$LINUXFAMILY" == sunxi* ]]; then
process_patch_file "${SRC}/patch/misc/wireless-uwe5622/uwe5622-fix-timer-api-changes-for-6.15-only-sunxi.patch" "applying"
else
process_patch_file "${SRC}/patch/misc/wireless-uwe5622/uwe5622-v6.15-timer-api-changes.patch" "applying"
fi
fi
fi
}