Changeset 36072


Ignore:
Timestamp:
2013-03-17T20:46:00+01:00 (5 years ago)
Author:
florian
Message:

kernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3

Most sound SoC driver enable it and rely it on to properly work.

Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/sound.mk

    r35691 r36072  
    3232        $(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \ 
    3333        $(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko 
     34 
     35ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3.0)),1) 
     36SOUNDCORE_LOAD += \ 
     37        snd-compress 
     38 
     39SOUNDCORE_FILES += \ 
     40        $(LINUX_DIR)/sound/core/snd-compress.ko 
     41endif 
    3442 
    3543define KernelPackage/sound-core 
     
    5159        CONFIG_SND_PCM_OSS \ 
    5260        CONFIG_SND_MIXER_OSS \ 
    53         CONFIG_SOUND_OSS_CORE_PRECLAIM=y 
     61        CONFIG_SOUND_OSS_CORE_PRECLAIM=y \ 
     62        CONFIG_SND_COMPRESS_OFFLOAD 
    5463  FILES:=$(SOUNDCORE_FILES) 
    5564  AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD)) 
Note: See TracChangeset for help on using the changeset viewer.