soc-qcom-msm8996: Rename haptics udev rule (MR 2339)

The update to Linux v5.13.1 also includes updating the haptics driver
to the latest one posted to the mailing lists, which was renamed to
qcom-spmi-haptics. Rename the udev rule for this driver and update the
driver name in it.

[ci:skip-build] already built successfully in CI
This commit is contained in:
Yassine Oudjana 2021-07-08 20:50:02 +04:00 committed by Clayton Craft
parent e62a879fd2
commit 69498c9489
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
3 changed files with 9 additions and 7 deletions

View file

@ -1 +0,0 @@
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="pmi8998_haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"

View file

@ -0,0 +1 @@
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="spmi_haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"

View file

@ -2,7 +2,7 @@
pkgname=soc-qcom-msm8996
pkgdesc="Common package for Qualcomm MSM8996 devices"
pkgver=1
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
@ -16,13 +16,13 @@ subpackages="
_ucm_commit="46b5441d7fdedc9c5ef78b0965a66b62ca054020"
source="
alsa-ucm-conf-$_ucm_commit.tar.gz::https://gitlab.com/msm8996-mainline/alsa-ucm-conf/-/archive/$_ucm_commit/alsa-ucm-conf-$_ucm_commit.tar.gz
90-feedbackd-pmi8998.rules
90-feedbackd-spmi-haptics.rules
"
package() {
mkdir -p "$pkgdir"
install -Dm644 "$srcdir"/90-feedbackd-pmi8998.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-pmi8998.rules
install -Dm644 "$srcdir"/90-feedbackd-spmi-haptics.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-spmi-haptics.rules
}
nonfree_firmware() {
@ -38,5 +38,7 @@ ucm() {
mkdir -p "$subpkgdir"/usr/share/alsa/ucm2
cp -r "$srcdir/alsa-ucm-conf-$_ucm_commit"/ucm2 "$subpkgdir"/usr/share/alsa/
}
sha512sums="81f8eb822b0b7778bd1f572648cbf9c29021c3d7deb21b6ed224432a77f6a86b6cf60776cccf3bc1bad75431d2b843092fcb98639e64ca5396b2399e876de9cf alsa-ucm-conf-46b5441d7fdedc9c5ef78b0965a66b62ca054020.tar.gz
ea3c7f9664eb9be2ffb6879db044b44cd826747b73c6527d54d79102e58a44e1b32d08d0b1b261329eae43d6a30bc8ef80d89b1d63af1c74ba5dc66ac57911d7 90-feedbackd-pmi8998.rules"
sha512sums="
81f8eb822b0b7778bd1f572648cbf9c29021c3d7deb21b6ed224432a77f6a86b6cf60776cccf3bc1bad75431d2b843092fcb98639e64ca5396b2399e876de9cf alsa-ucm-conf-46b5441d7fdedc9c5ef78b0965a66b62ca054020.tar.gz
4f2c22a3a3fc7d380e200ad977578107d81f0e7ade7918e03bdb15b60a564e8db5f47e13cce22f636d38fd3722696bb46076b8872dae0ca2d8a3838522a1f025 90-feedbackd-spmi-haptics.rules
"