Files
omarchy-pkgs/pkgbuilds/intel-ipu7-camera/intel-cvs-Makefile
T
Spencer Bull 21c0630334 Stop the DKMS Intel CVS driver from claiming the amplifiers' speaker-ID GPIO
The in-tree 7.2 CVS driver we ship as the intel-cvs DKMS module requests its
"wake" line with devm_gpiod_get(). On the Dell XPS 14 DA14260 that pin
(\_SB.GPI1 20) is the shared GpioIo the four CS35L57 amplifiers read their
speaker ID from, so with this package installed every cs35l56 probe fails with
"error -EBUSY: Failed to get spk-id-gpios" and the machine has no sound card.

Carry Junjie Cao's upstream fix, "media: i2c: cvs: Get the wake IRQ without
claiming the GPIO" (Cc: stable, Fixes: 8e2b43d2c10b), applied to the
downloaded intel-cvs-core.c in prepare(). makepkg symlinks plain downloads
into srcdir and patch refuses symlinks, so the file is copied first. Drop the
patch once the stable tag we fetch from contains the fix.

Link: https://github.com/thesofproject/sof/issues/11152
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
2026-09-12 19:25:52 -05:00

16 lines
452 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
# Out-of-tree build of the in-tree Linux 7.2 Intel CVS driver
# (drivers/media/i2c/cvs). Sources are kernel files plus the upstream
# wake-IRQ fix carried by the PKGBUILD.
KERNELRELEASE ?= $(shell uname -r)
KERNEL_SRC ?= /lib/modules/$(KERNELRELEASE)/build
obj-m := intel_cvs.o
intel_cvs-y := core.o v4l2.o
all:
$(MAKE) -C $(KERNEL_SRC) M=$(CURDIR) modules
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(CURDIR) clean