Commit c1a044ba authored by Yarny0's avatar Yarny0
Browse files

linux/common-config: enable media staging drivers

This enables the config setting `STAGING_MEDIA`.
With our current default (LTS) kernel 6.12.49,
it adds these modules to the `modules` output:

* dvb-ttpci
* sp8870
* ipu3-imgu
* max96712

We already enabled staging drivers,
as their existence generally won't hurt.
I assume the same holds for the subset of media staging drivers.

The change is also in line with other distributions, e.g.

https://github.com/openSUSE/kernel-source/blob/50583f4464872c4d1abe1a222d75d41027f6d7a7/config/x86_64/default#L9420
https://src.fedoraproject.org/rpms/kernel/blob/9fab601be2e1185cf3aa1658d5f1dc7d6eceb381/f/kernel-x86_64-fedora.config#_7963
https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/blob/46c65b3f38ffaee2caf38255e81a0f611d6ed3a7/config#L9606
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/tree/debian.master/config/annotations#n13406
parent 7df7ff7d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -904,6 +904,7 @@ let
      # Enable staging drivers.  These are somewhat experimental, but
      # they generally don't hurt.
      STAGING = yes;
      STAGING_MEDIA = yes;
    };

    proc-events = {