Changeset 709


Ignore:
Timestamp:
Jan 11, 2022, 4:25:53 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
8 edited
2 copied

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/hda/Makefile

    r667 r709  
    1313#
    1414#===================================================================
    15 FILES = hdac_device.obj array.obj hdac_stream.obj hdac_controller.obj hdac_bus.obj hda_bus_type.obj hdac_regmap.obj
     15FILES = hdac_device.obj array.obj hdac_stream.obj hdac_controller.obj hdac_bus.obj hda_bus_type.obj hdac_regmap.obj hdmi_chmap.obj
    1616
    1717TARGET = hdac
  • GPL/trunk/alsa-kernel/pci/hda/Makefile

    r689 r709  
    1313#===================================================================
    1414FILES = hda_intel.obj hda_codec.obj hda_controller.obj hda_auto_parser.obj hda_jack.obj &
    15   hda_proc.obj hda_generic.obj hda_hwdep.obj hda_sysfs.obj hda_bind.obj &
     15  hda_proc.obj hda_generic.obj hda_hwdep.obj hda_sysfs.obj hda_bind.obj hda_eld.obj &
    1616  patch_analog.obj patch_cmedia.obj patch_conexant.obj patch_ca0110.obj patch_ca0132.obj patch_cirrus.obj &
    17   patch_realtek.obj patch_si3054.obj patch_sigmatel.obj patch_via.obj
     17  patch_hdmi.obj patch_realtek.obj patch_si3054.obj patch_sigmatel.obj patch_via.obj
    1818
    1919TARGET = hda
  • GPL/trunk/alsa-kernel/pci/hda/patch_hdmi.c

    r703 r709  
    2525#ifdef TARGET_OS2
    2626#include <linux/mod_devicetable.h>
     27#define wmb()
    2728#endif
    2829#include <sound/core.h>
     
    5152
    5253static bool enable_silent_stream =
     54#ifndef TARGET_OS2
    5355IS_ENABLED(CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM);
     56#else
     571
     58#endif
    5459module_param(enable_silent_stream, bool, 0644);
    5560MODULE_PARM_DESC(enable_silent_stream, "Enable Silent Stream for HDMI devices");
     
    19501955        SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1),
    19511956        SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", 1),
    1952         {}
     1957        {0}
    19531958};
    19541959
     
    20162021         * This should never happen.
    20172022         */
     2023        #ifndef TARGET_OS2
    20182024        if (WARN_ON(spdif == NULL)) {
    20192025                mutex_unlock(&codec->spdif_mutex);
    20202026                return true;
    20212027        }
     2028        #endif
    20222029        non_pcm = !!(spdif->status & IEC958_AES0_NONAUDIO);
    20232030        mutex_unlock(&codec->spdif_mutex);
     
    20392046        int pin_idx;
    20402047        struct hdmi_spec_per_pin *per_pin;
     2048        #ifndef TARGET_OS2
    20412049        struct snd_pcm_runtime *runtime = substream->runtime;
     2050        #endif
    20422051        bool non_pcm;
    20432052        int pinctl, stripe;
     
    20752084        /* Call sync_audio_rate to set the N/CTS/M manually if necessary */
    20762085        /* Todo: add DP1.2 MST audio support later */
     2086        #ifndef TARGET_OS2
    20772087        if (codec_has_acomp(codec))
    20782088                snd_hdac_sync_audio_rate(&codec->core, per_pin->pin_nid,
    20792089                                         per_pin->dev_id, runtime->rate);
     2090        #endif
    20802091
    20812092        non_pcm = check_non_pcm_per_cvt(codec, cvt_nid);
     
    24612472        if (spec->acomp_registered) {
    24622473                snd_hdac_acomp_exit(&codec->bus->core);
     2474        #ifndef TARGET_OS2
    24632475        } else if (codec_has_acomp(codec)) {
    24642476                snd_hdac_acomp_register_notifier(&codec->bus->core, NULL);
     2477        #endif
    24652478        }
    24662479        codec->relaxed_resume = 0;
     
    26642677         * the state will be updated at resume
    26652678         */
     2679#ifndef TARGET_OS2
    26662680        if (codec->core.dev.power.power_state.event == PM_EVENT_SUSPEND)
    26672681                return;
     2682#endif
    26682683        /* ditto during suspend/resume process itself */
    26692684        if (snd_hdac_is_in_pm(&codec->core))
     
    28502865         * the state will be updated at resume
    28512866         */
     2867#ifndef TARGET_OS2
    28522868        if (codec->core.dev.power.power_state.event == PM_EVENT_SUSPEND)
    28532869                return;
     2870#endif
    28542871        /* ditto during suspend/resume process itself */
    28552872        if (snd_hdac_is_in_pm(&codec->core))
  • GPL/trunk/include/linux/bitops.h

    r679 r709  
    198198}
    199199
     200static inline unsigned long hweight_long(unsigned long w)
     201{
     202        return hweight32(w);
     203}
     204
    200205#endif /* _I386_BITOPS_H */
  • GPL/trunk/include/linux/pci.h

    r679 r709  
    769769                               PCI_STATUS_PARITY)
    770770
     771#define dev_is_pci(d) (true)
     772
    771773#endif /* LINUX_PCI_H */
  • GPL/trunk/lib32/ossidc.c

    r689 r709  
    133133        call_module_init(cmedia_driver_init);
    134134        call_module_init(conexant_driver_init);
    135 //      call_module_init(hdmi_driver_init);
     135        call_module_init(hdmi_driver_init);
    136136        call_module_init(realtek_driver_init);
    137137        call_module_init(sigmatel_driver_init);
  • GPL/trunk/uniaud.inc

    r695 r709  
    77# BUILDVERSION must be 3 parts, and only numbers like 5.44.108
    88# The second and third numbers must be 2 digits
    9 BUILDVERSION = 3.01.03
     9BUILDVERSION = 3.01.04
    1010
    1111# Fixpack version
Note: See TracChangeset for help on using the changeset viewer.