Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge/sound upstream 20241112 #5239

Merged

Commits on Oct 21, 2024

  1. ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()

    The step variable is initialized to zero. It is changed in the loop,
    but if it's not changed it will remain zero. Add a variable check
    before the division.
    
    The observed behavior was introduced by commit 826b5de
    ("ALSA: firewire-lib: fix insufficient PCM rule for period/buffer size"),
    and it is difficult to show that any of the interval parameters will
    satisfy the snd_interval_test() condition with data from the
    amdtp_rate_table[] table.
    
    Found by Linux Verification Center (linuxtesting.org) with SVACE.
    
    Fixes: 826b5de ("ALSA: firewire-lib: fix insufficient PCM rule for period/buffer size")
    Signed-off-by: Andrey Shumilin <shum.sdl@nppct.ru>
    Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
    Link: https://patch.msgid.link/20241018060018.1189537-1-shum.sdl@nppct.ru
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Andrey Shumilin authored and tiwai committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    72cafe6 View commit details
    Browse the repository at this point in the history
  2. ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593

    The Acer Predator G9-593 has a 2+1 speaker system which isn't probed
    correctly.
    This patch adds a quirk with the proper pin connections.
    
    Note that I do not own this laptop, so I cannot guarantee that this
    fixes the issue.
    Testing was done by other users here:
    https://discussion.fedoraproject.org/t/-/118482
    
    This model appears to have two different dev IDs...
    
    - 0x1177 (as seen on the forum link above)
    - 0x1178 (as seen on https://linux-hardware.org/?probe=127df9999f)
    
    I don't think the audio system was changed between model revisions, so
    the patch applies for both IDs.
    
    Signed-off-by: José Relvas <josemonsantorelvas@gmail.com>
    Link: https://patch.msgid.link/20241020102756.225258-1-josemonsantorelvas@gmail.com
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    jrelvas-ipc authored and tiwai committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    35fdc6e View commit details
    Browse the repository at this point in the history
  3. ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE

    Fix the kconfig option for the tas2781 HDA driver to select CRC32 rather
    than CRC32_SARWATE.  CRC32_SARWATE is an option from the kconfig
    'choice' that selects the specific CRC32 implementation.  Selecting a
    'choice' option seems to have no effect, but even if it did work, it
    would be incorrect for a random driver to override the user's choice.
    CRC32 is the correct option to select for crc32() to be available.
    
    Fixes: 5be27f1 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
    Cc: stable@vger.kernel.org
    Signed-off-by: Eric Biggers <ebiggers@google.com>
    Link: https://patch.msgid.link/20241020175624.7095-1-ebiggers@kernel.org
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    ebiggers authored and tiwai committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    86c96e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. ALSA: hda/realtek: Update default depop procedure

    Old procedure has a chance to meet Headphone no output.
    
    Fixes: c2d6af5 ("ALSA: hda/realtek - Add default procedure for suspend and resume state")
    Signed-off-by: Kailang Yang <kailang@realtek.com>
    Link: https://lore.kernel.org/17b717a0a0b04a77aea4a8ec820cba13@realtek.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    kailangyang authored and tiwai committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    e3ea275 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Merge tag 'asoc-fix-v6.12-rc4' of https://git.kernel.org/pub/scm/linu…

    …x/kernel/git/broonie/sound into for-linus
    
    ASoC: Fixes for v6.12
    
    An uncomfortably large set of fixes due to me not getting round to
    sending them for longer than I should due to travel and illness.  This
    is mostly smaller driver specific changes, but there are a couple of
    generic changes:
    
     - Bumping the minimal topology ABI we check for during validation, the
       code had support for v4 removed previously but the update of the
       define used for initial validation was missed.
     - Fix the assumption that DAPM structs will be embedded in a component
       which isn't true for card widgets when doing name comparisons, though
       fortunately this is rarely triggered.
    
    We've pulled in one Soundwire fix which was part of a larger series
    fixing cleanup issues in on Intel Soundwire systems.
    tiwai committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c9f7a14 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. ALSA: hda/realtek: Limit internal Mic boost on Dell platform

    Dell want to limit internal Mic boost on all Dell platform.
    
    Signed-off-by: Kailang Yang <kailang@realtek.com>
    Cc: <stable@vger.kernel.org>
    Link: https://lore.kernel.org/561fc5f5eff04b6cbd79ed173cd1c1db@realtek.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    kailangyang authored and tiwai committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    78e7be0 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13

    Infinix ZERO BOOK 13 has a 2+2 speaker system which isn't probed correctly.
    This patch adds a quirk with the proper pin connections.
    Also The mic in this laptop suffers too high gain resulting in mostly
    fan noise being recorded,
    This patch Also limit mic boost.
    
    HW Probe for device; https://linux-hardware.org/?probe=a2e892c47b
    
    Test: All 4 speaker works, Mic has low noise.
    
    Signed-off-by: Piyush Raj Chouhan <piyushchouhan1598@gmail.com>
    Link: https://patch.msgid.link/20241028155516.15552-1-piyuschouhan1598@gmail.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Pc1598 authored and tiwai committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ef5fbdf View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Merge tag 'asoc-fix-v6.12-rc5' of https://git.kernel.org/pub/scm/linu…

    …x/kernel/git/broonie/sound into for-linus
    
    ASoC: Fixes for v6.12
    
    The biggest set of changes here is Hans' fixes and quirks for various
    Baytrail based platforms with RT5640 CODECs, and there's one core fix
    for a missed length assignment for __counted_by() checking.  Otherwise
    it's small device specific fixes, several of them in the DT bindings.
    tiwai committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    7027eee View commit details
    Browse the repository at this point in the history
  2. ALSA: usb-audio: Add quirks for Dell WD19 dock

    The WD19 family of docks has the same audio chipset as the WD15. This
    change enables jack detection on the WD19.
    
    We don't need the dell_dock_mixer_init quirk for the WD19. It is only
    needed because of the dell_alc4020_map quirk for the WD15 in
    mixer_maps.c, which disables the volume controls. Even for the WD15,
    this quirk was apparently only needed when the dock firmware was not
    updated.
    
    Signed-off-by: Jan Schär <jan@jschaer.ch>
    Cc: <stable@vger.kernel.org>
    Link: https://patch.msgid.link/20241029221249.15661-1-jan@jschaer.ch
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    jscissr authored and tiwai committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    4413665 View commit details
    Browse the repository at this point in the history
  3. ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3

    Quirk is needed to enable headset microphone on missing pin 0x19.
    
    Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
    Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
    Cc: <stable@vger.kernel.org>
    Link: https://patch.msgid.link/20241029151653.80726-1-wse@tuxedocomputers.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tuxedoxt authored and tiwai committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    0b04fbe View commit details
    Browse the repository at this point in the history
  4. ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1

    Quirk is needed to enable headset microphone on missing pin 0x19.
    
    Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
    Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
    Cc: <stable@vger.kernel.org>
    Link: https://patch.msgid.link/20241029151653.80726-2-wse@tuxedocomputers.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tuxedoxt authored and tiwai committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    e49370d View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. ASoC: codecs: wcd937x: Remove unused of_gpio.h

    of_gpio.h is deprecated and subject to remove. The drivers in question
    don't use it, simply remove the unused header.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Link: https://patch.msgid.link/20241031103302.2450830-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    andy-shev authored and broonie committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    bd0aff8 View commit details
    Browse the repository at this point in the history
  2. ASoC: doc: update clock api details

    Added ASoC clock api kernel doc in this
    document.
    
    Signed-off-by: anish kumar <yesanishhere@gmail.com>
    Link: https://patch.msgid.link/20241031035829.54852-1-yesanishhere@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    yesanishhere authored and broonie committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    0196105 View commit details
    Browse the repository at this point in the history
  3. Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown"

    Commit 4f61c8f ("ALSA: hda/conexant: Mute speakers at suspend /
    shutdown") mutes speakers on system shutdown or whenever HDA controller
    is suspended by PM; this however interacts badly with Thinkpad's ACPI
    firmware behavior which uses beeps to signal various events (enter/leave
    suspend or hibernation, AC power connect/disconnect, low battery, etc.);
    now those beeps are either muted altogether (for suspend/hibernate/
    shutdown related events) or work more or less randomly (eg. AC
    plug/unplug is only audible when you are playing music at the moment,
    because HDA device is likely in suspend mode otherwise).
    
    Since the original bug report mentioned in 4f61c8f complained about
    Lenovo's Thinkpad laptop - revert this commit altogether.
    
    Fixes: 4f61c8f ("ALSA: hda/conexant: Mute speakers at suspend / shutdown")
    Signed-off-by: Jarosław Janik <jaroslaw.janik@gmail.com>
    Link: https://patch.msgid.link/20241030171813.18941-2-jaroslaw.janik@gmail.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Jarosław Janik authored and tiwai committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c9363bb View commit details
    Browse the repository at this point in the history
  4. regmap: maple: Provide lockdep (sub)class for maple tree's internal lock

    In some cases when using the maple tree register cache, the lockdep
    validator might complain about invalid deadlocks:
    
    [7.131886]  Possible interrupt unsafe locking scenario:
    
    [7.131890]        CPU0                    CPU1
    [7.131893]        ----                    ----
    [7.131896]   lock(&mt->ma_lock);
    [7.131904]                                local_irq_disable();
    [7.131907]                                lock(rockchip_drm_vop2:3114:(&vop2_regmap_config)->lock);
    [7.131916]                                lock(&mt->ma_lock);
    [7.131925]   <Interrupt>
    [7.131928]     lock(rockchip_drm_vop2:3114:(&vop2_regmap_config)->lock);
    [7.131936]
                    *** DEADLOCK ***
    
    [7.131939] no locks held by swapper/0/0.
    [7.131944]
                   the shortest dependencies between 2nd lock and 1st lock:
    [7.131950]  -> (&mt->ma_lock){+.+.}-{2:2} {
    [7.131966]     HARDIRQ-ON-W at:
    [7.131973]                       lock_acquire+0x200/0x330
    [7.131986]                       _raw_spin_lock+0x50/0x70
    [7.131998]                       regcache_maple_write+0x68/0xe0
    [7.132010]                       regcache_write+0x6c/0x90
    [7.132019]                       _regmap_read+0x19c/0x1d0
    [7.132029]                       _regmap_update_bits+0xc0/0x148
    [7.132038]                       regmap_update_bits_base+0x6c/0xa8
    [7.132048]                       rk8xx_probe+0x22c/0x3d8
    [7.132057]                       rk8xx_spi_probe+0x74/0x88
    [7.132065]                       spi_probe+0xa8/0xe0
    
    [...]
    
    [7.132675]   }
    [7.132678]   ... key      at: [<ffff800082943c20>] __key.0+0x0/0x10
    [7.132691]   ... acquired at:
    [7.132695]    _raw_spin_lock+0x50/0x70
    [7.132704]    regcache_maple_write+0x68/0xe0
    [7.132714]    regcache_write+0x6c/0x90
    [7.132724]    _regmap_read+0x19c/0x1d0
    [7.132732]    _regmap_update_bits+0xc0/0x148
    [7.132741]    regmap_field_update_bits_base+0x74/0xb8
    [7.132751]    vop2_plane_atomic_update+0x480/0x14d8 [rockchipdrm]
    [7.132820]    drm_atomic_helper_commit_planes+0x1a0/0x320 [drm_kms_helper]
    
    [...]
    
    [7.135112] -> (rockchip_drm_vop2:3114:(&vop2_regmap_config)->lock){-...}-{2:2} {
    [7.135130]    IN-HARDIRQ-W at:
    [7.135136]                     lock_acquire+0x200/0x330
    [7.135147]                     _raw_spin_lock_irqsave+0x6c/0x98
    [7.135157]                     regmap_lock_spinlock+0x20/0x40
    [7.135166]                     regmap_read+0x44/0x90
    [7.135175]                     vop2_isr+0x90/0x290 [rockchipdrm]
    [7.135225]                     __handle_irq_event_percpu+0x124/0x2d0
    
    In the example above, the validator seems to get the scope of
    dependencies wrong, since the regmap instance used in rk8xx-spi driver
    has nothing to do with the instance from vop2.
    
    Improve validation by sharing the regmap's lockdep class with the maple
    tree's internal lock, while also providing a subclass for the latter.
    
    Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
    Link: https://patch.msgid.link/20241031-regmap-maple-lockdep-fix-v2-1-06a3710f3623@collabora.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    cristicc authored and broonie committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1ed9b92 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. ASoC: sdw_utils/intel/amd: refactor dai link init logic

    Add 'no_pcm' as parameter for asoc_sdw_init_dai_link() so that
    same function can be used for SOF and legacy(No DSP) stack.
    Pass 'no_pcm' as 1 for Intel and AMD SOF based machine drivers.
    
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://patch.msgid.link/20241101020802.1103181-2-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    485df22 View commit details
    Browse the repository at this point in the history
  2. ASoC: sdw_utils: Update stream_name in dai_links structure

    For sof stack, dai_link->stream name will be assigned.
    For legacy(No DSP enabled) stack, dai_link->stream name should be updated
    explicitly. Update the stream_name in dai_link structure.
    
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://patch.msgid.link/20241101020802.1103181-3-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    d280cf5 View commit details
    Browse the repository at this point in the history
  3. ASoC: dt-bindings: Add schema for "awinic,aw88081"

    Add the awinic,aw88081 property to support the aw88081 chip,
    which is an I2S/TDM input, high efficiency digital
    Smart K audio amplifie.
    
    Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
    Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20241024090324.131731-2-wangweidong.a@awinic.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    wangweidonga authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    1d534bf View commit details
    Browse the repository at this point in the history
  4. ASoC: codecs: Add aw88081 amplifier driver

    The driver is for amplifiers aw88081 of Awinic Technology
    Corporation. The awinic AW88081 is an I2S/TDM input,
    high efficiency digital Smart K audio amplifier
    
    Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
    Reviewed-by: anish kumar <yesanishhere@gmail.com>
    Link: https://patch.msgid.link/20241024090324.131731-3-wangweidong.a@awinic.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    wangweidonga authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    88264e4 View commit details
    Browse the repository at this point in the history
  5. ASoC: rename rtd->num to rtd->id

    Current rtd has "num". It sounds/looks like size of rtd or something,
    but it will be mainly used at snd_pcm_new() as "device index".
    This naming is confusable. Let's rename it to "id"
    
    Some drivers are using rtd->num, so let's keep it so far, and remove
    it if all user was switched.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87zfmub85z.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    40e47e2 View commit details
    Browse the repository at this point in the history
  6. ASoC: fsl: switch to use rtd->id from rtd->num

    Now rtd->num is renamed to rtd->id. Let's switch.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87y12eb85r.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    eae33f7 View commit details
    Browse the repository at this point in the history
  7. ASoC: meson: switch to use rtd->id from rtd->num

    Now rtd->num is renamed to rtd->id. Let's switch.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Acked-by: Jerome Brunet <jbrunet@baylibre.com>
    Link: https://patch.msgid.link/87wmhyb85l.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    b19f75d View commit details
    Browse the repository at this point in the history
  8. ASoC: sh: switch to use rtd->id from rtd->num

    Now rtd->num is renamed to rtd->id. Let's switch.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87v7xib85e.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    970a874 View commit details
    Browse the repository at this point in the history
  9. ASoC: generic: switch to use rtd->id from rtd->num

    Now rtd->num is renamed to rtd->id. Let's switch.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87ttd2b858.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    742e622 View commit details
    Browse the repository at this point in the history
  10. ASoC: remove rtd->num

    No one is using rtd->num. Let's remove it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87sesmb852.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c59db5e View commit details
    Browse the repository at this point in the history
  11. ASoC: soc-core: do rtd->id trick at snd_soc_add_pcm_runtime()

    qcom/qdsp6 want to use irregular rtd->id because of its topology.
    Current code is calculating it at soc_init_pcm_runtime() which calls
    soc_new_pcm(), and it doesn't save it to rtd->id.
    
    Let's calculate and save it to rtd at snd_soc_add_pcm_runtime()
    which create rtd and connect related components.
    
    But, this feature should be implemented by using "dai_link" instead
    of "component". Add FIXME as comment.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87r086b84w.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    cb18cd2 View commit details
    Browse the repository at this point in the history
  12. ASoC: cleanup function parameter for rtd and its id

    some functions had parameter like below
    
    	xxx(..., rtd, ..., id);
    
    This "id" is rtd->id. We don't need to have "id" on each functions
    because we can get it from "rtd". Let's cleanup it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87plnqb84p.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    8b12da9 View commit details
    Browse the repository at this point in the history
  13. regmap: irq: Set lockdep class for hierarchical IRQ domains

    Lockdep gives a false positive splat as it can't distinguish the lock
    which is taken by different IRQ descriptors from different IRQ chips
    that are organized in a way of a hierarchy:
    
       ======================================================
       WARNING: possible circular locking dependency detected
       6.12.0-rc5-next-20241101-00148-g9fabf8160b53 thesofproject#562 Tainted: G        W
       ------------------------------------------------------
       modprobe/141 is trying to acquire lock:
       ffff899446947868 (intel_soc_pmic_bxtwc:502:(&bxtwc_regmap_config)->lock){+.+.}-{4:4}, at: regmap_update_bits_base+0x33/0x90
    
       but task is already holding lock:
       ffff899446947c68 (&d->lock){+.+.}-{4:4}, at: __setup_irq+0x682/0x790
    
       which lock already depends on the new lock.
    
       -> #3 (&d->lock){+.+.}-{4:4}:
       -> #2 (&desc->request_mutex){+.+.}-{4:4}:
       -> #1 (ipclock){+.+.}-{4:4}:
       -> #0 (intel_soc_pmic_bxtwc:502:(&bxtwc_regmap_config)->lock){+.+.}-{4:4}:
    
       Chain exists of:
         intel_soc_pmic_bxtwc:502:(&bxtwc_regmap_config)->lock --> &desc->request_mutex --> &d->lock
    
        Possible unsafe locking scenario:
    
              CPU0                    CPU1
              ----                    ----
         lock(&d->lock);
                                      lock(&desc->request_mutex);
                                      lock(&d->lock);
         lock(intel_soc_pmic_bxtwc:502:(&bxtwc_regmap_config)->lock);
    
        *** DEADLOCK ***
    
       3 locks held by modprobe/141:
        #0: ffff8994419368f8 (&dev->mutex){....}-{4:4}, at: __driver_attach+0xf6/0x250
        #1: ffff89944690b250 (&desc->request_mutex){+.+.}-{4:4}, at: __setup_irq+0x1a2/0x790
        #2: ffff899446947c68 (&d->lock){+.+.}-{4:4}, at: __setup_irq+0x682/0x790
    
    Set a lockdep class when we map the IRQ so that it doesn't warn about
    a lockdep bug that doesn't exist.
    
    Fixes: 4af8be6 ("regmap: Convert regmap_irq to use irq_domain")
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Link: https://patch.msgid.link/20241101165553.4055617-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    andy-shev authored and broonie committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    953e549 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. ALSA: ump: Don't enumeration invalid groups for legacy rawmidi

    The legacy rawmidi tries to enumerate all possible UMP groups
    belonging to the UMP endpoint.  But currently it shows all 16 ports
    when the UMP endpoint is configured with static blocks, although most
    of them may be unused.
    
    There was already a fix for the sequencer client side to ignore such
    groups in the commit 3bfd7c0 ("ALSA: seq: ump: Skip useless ports
    for static blocks"), and this commit is a similar fix for UMP
    rawmidi devices; it adds simply the check for the validity of each
    group that has been already parsed.  (Note that the group info was
    moved to snd_ump_endpoint.groups[] by the commit 0642a3c
    ("ALSA: ump: Update substream name from assigned FB names")).
    
    Link: https://patch.msgid.link/20241104100735.16127-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c2d188e View commit details
    Browse the repository at this point in the history
  2. ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()

    If amdtp_stream_init() fails in amdtp_tscm_init(), the latter returns zero,
    though it's supposed to return error code, which is checked inside
    init_stream() in file tascam-stream.c.
    
    Found by Linux Verification Center (linuxtesting.org) with SVACE.
    
    Fixes: 47faeea ("ALSA: firewire-tascam: add data block processing layer")
    Signed-off-by: Murad Masimov <m.masimov@maxima.ru>
    Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Link: https://patch.msgid.link/20241101185517.1819-1-m.masimov@maxima.ru
    Murad Masimov authored and tiwai committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8abbf1f View commit details
    Browse the repository at this point in the history
  3. ALSA: hda: intel: Don't free interrupt when suspending

    There's no need to free/re-request the interrupt on system suspend.
    PCI core takes care, using functions like pci_restore_msi_state().
    
    Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
    Link: https://patch.msgid.link/1b7e109b-eb69-4542-8022-4ac8f9116474@gmail.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    hkallweit authored and tiwai committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    cac99f7 View commit details
    Browse the repository at this point in the history
  4. ALSA: hda: intel: Switch to pci_alloc_irq_vectors API

    Switch from legacy pci_msi_enable()/pci_intx() API to the
    pci_alloc_irq_vectors API.
    
    Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
    Link: https://patch.msgid.link/11c60429-9435-4666-8e27-77160abef68e@gmail.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    hkallweit authored and tiwai committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    149cb7d View commit details
    Browse the repository at this point in the history
  5. ASoC: tas2781: Add new driver version for tas2563 & tas2781 qfn chip

    Add new driver version to support tas2563 & tas2781 qfn chip
    
    Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
    Link: https://patch.msgid.link/20241104100055.48-1-shenghao-ding@ti.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Shenghao-Ding authored and broonie committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    fe09de2 View commit details
    Browse the repository at this point in the history
  6. ALSA: hda: Fix unused variable warning

    The previous code cleanup made a variable not really used, which now
    leads to a compile warning.  Let's fix it.
    
    Fixes: cac99f7 ("ALSA: hda: intel: Don't free interrupt when suspending")
    Reported-by: kernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202411050247.3esQz7Am-lkp@intel.com/
    Link: https://patch.msgid.link/20241104190654.32216-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8ae4c65 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. ALSA: usb-audio: Add quirk for HP 320 FHD Webcam

    HP 320 FHD Webcam (03f0:654a) seems to have flaky firmware like other
    webcam devices that don't like the frequency inquiries.  Also, Mic
    Capture Volume has an invalid resolution, hence fix it to be 16 (as a
    blind shot).
    
    Link: https://bugzilla.suse.com/show_bug.cgi?id=1232768
    Cc: <stable@vger.kernel.org>
    Link: https://patch.msgid.link/20241105120220.5740-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    dabc44c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'for-linus' into for-next

    Pull 6.12-devel branch for cleanup of USB-audio driver code.
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b22b2e3 View commit details
    Browse the repository at this point in the history
  3. ALSA: usb-audio: Make mic volume workarounds globally applicable

    It seems that many webcams have buggy firmware and don't expose the
    mic capture volume with the proper resolution.  We have workarounds in
    mixer.c, but judging from the numbers, those can be better managed as
    global quirk flags.
    
    Link: https://patch.msgid.link/20241105120220.5740-2-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d6e6b92 View commit details
    Browse the repository at this point in the history
  4. ASoC: amd: acp: Fix for ACP SOF dmic tplg component load failure

    Stream name mismatch with topology file causes tplg load failure.
    
    As SOF framework assigns dailink->stream name, overriding stream name
    other than link name causes SOF dmic component load failure.
    
    [   35.474995] snd_sof_amd_acp70 0000:c4:00.5: error: can't connect DAI ACPDMIC0.IN stream acp-dmic-codec
    [   35.475001] snd_sof_amd_acp70 0000:c4:00.5: failed to add widget type 28 name : ACPDMIC0.IN stream acp-dmic-codec
    [   35.475013] sof_mach acp70-dsp: ASoC: failed to load widget ACPDMIC0.IN
    [   35.475018] sof_mach acp70-dsp: ASoC: topology: could not load header: -22
    [   35.475072] snd_sof_amd_acp70 0000:c4:00.5: error: tplg component load failed -22
    [   35.475083] snd_sof_amd_acp70 0000:c4:00.5: error: failed to load DSP topology -22
    [   35.475090] snd_sof_amd_acp70 0000:c4:00.5: ASoC: error at snd_soc_component_probe on 0000:c4:00.5: -22
    [   35.475117] sof_mach acp70-dsp: ASoC: failed to instantiate card -22
    [   35.475254] sof_mach acp70-dsp: error -EINVAL: Failed to register card(sof-acp70-dsp)
    [   35.475261] sof_mach acp70-dsp: probe with driver sof_mach failed with error -22
    
    Fixes: b2385de ("ASoC: amd: acp: Add stream name to ACP PDM DMIC devices")
    
    Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
    Link: https://patch.msgid.link/20241104091312.1108299-1-venkataprasad.potturu@amd.com
    Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Venkata-Prasad-Potturu authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    224b898 View commit details
    Browse the repository at this point in the history
  5. ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback

    i.MX6SL and i.MX6SX SPDIF blocks are compatible with i.MX35.
    
    Document 'fsl,imx35-spdif' as a fallback compatible for these two
    chip variants.
    
    This fixes the following dt-schema warnings:
    
    compatible: ['fsl,imx6sl-spdif', 'fsl,imx35-spdif'] is too long
    compatible: ['fsl,imx6sx-spdif', 'fsl,imx35-spdif'] is too long
    
    Signed-off-by: Fabio Estevam <festevam@denx.de>
    Link: https://patch.msgid.link/20241028020749.36972-1-festevam@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Fabio Estevam authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    82e54d6 View commit details
    Browse the repository at this point in the history
  6. ASoC: codecs: ES8326: Reduce pop noise

    We modify the value of ES8326_ANA_MICBIAS to reduce the pop noise
    
    Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
    Link: https://patch.msgid.link/20241031060253.21001-1-zhangyi@everest-semi.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Michael-zy2000 authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8f5fab5 View commit details
    Browse the repository at this point in the history
  7. ASoC: qcom: x1e80100: Support boards with two speakers

    Some Qualcomm X1E laptops have only two speakers.  Regardless whether
    this sound card driver is suitable for them (we could re-use one for
    some older SoC), we should set reasonable channel map depending on the
    number of channels, not always 4-speaker setup.
    
    This change is necessary for bringing audio support on Lenovo Thinkpad
    T14s with Qualcomm X1E78100 and only two speakers.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241023124152.130706-1-krzysztof.kozlowski@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    krzk authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1590988 View commit details
    Browse the repository at this point in the history
  8. ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()

    An atomicity violation occurs when the validity of the variables
    da7219->clk_src and da7219->mclk_rate is being assessed. Since the entire
    assessment is not protected by a lock, the da7219 variable might still be
    in flux during the assessment, rendering this check invalid.
    
    To fix this issue, we recommend adding a lock before the block
    if ((da7219->clk_src == clk_id) && (da7219->mclk_rate == freq)) so that
    the legitimacy check for da7219->clk_src and da7219->mclk_rate is
    protected by the lock, ensuring the validity of the check.
    
    This possible bug is found by an experimental static analysis tool
    developed by our team. This tool analyzes the locking APIs
    to extract function pairs that can be concurrently executed, and then
    analyzes the instructions in the paired functions to identify possible
    concurrency bugs including data races and atomicity violations.
    
    Fixes: 6d817c0 ("ASoC: codecs: Add da7219 codec driver")
    Cc: stable@vger.kernel.org
    Signed-off-by: Qiu-ji Chen <chenqiuji666@gmail.com>
    Link: https://patch.msgid.link/20240930101216.23723-1-chenqiuji666@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TomRita999 authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1157733 View commit details
    Browse the repository at this point in the history
  9. ASoC: bcm63xx-pcm-whistler: fix uninit-value in i2s_dma_isr

    Fix an issue detected by the Smatch tool:
    
    sound/soc/bcm/bcm63xx-pcm-whistler.c:264 i2s_dma_isr()
    error: uninitialized symbol 'val_1'.
    sound/soc/bcm/bcm63xx-pcm-whistler.c:264 i2s_dma_isr()
    error: uninitialized symbol 'val_2'.
    
    These errors were triggered because the variables 'val_1' and 'val_2'
    could remain uninitialized if 'offlevel' is zero, meaning the loop
    that assigns values to them does not execute. In this case,
    'dma_addr_next' would use uninitialized data, potentially leading
    to undefined behavior.
    
    To resolve this, a conditional update for 'dma_addr_next' is added,
    ensuring it is assigned only when 'val_1' and 'val_2' are read.
    A new boolean variable 'val_read' flags when the values have been
    retrieved, setting 'dma_addr_next' only if valid data is available.
    
    This solution prevents the use of uninitialized data, maintaining
    defined behavior for 'dma_addr_next' in all cases, and aligns with
    expected usage of I2S RX descriptor data.
    
    Signed-off-by: Suraj Sonawane <surajsonawane0215@gmail.com>
    Link: https://patch.msgid.link/20241102123630.25446-1-surajsonawane0215@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    SurajSonawane2415 authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    28f7aa0 View commit details
    Browse the repository at this point in the history
  10. ASoC: fsl_mqs: Support accessing registers by scmi interface

    On i.MX95, the MQS module in Always-on (AON) domain only can
    be accessed by System Controller Management Interface (SCMI)
    MISC Protocol. So define a specific regmap_config for the case.
    
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Link: https://patch.msgid.link/20241025062935.1071408-1-shengjiu.wang@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TE-N-ShengjiuWang authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    101c902 View commit details
    Browse the repository at this point in the history
  11. ASoC: dt-bindings: sprd,pcm-platform: convert to YAML

    Convert the Spreadtrum DMA platform bindings to DT schema.
    Adjust filename to match compatible.
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/9fc646b70a73e7a6c513771d69b0edcd140f09d7.1730310275.git.stano.jakubek@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Stanislav Jakubek authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a80aede View commit details
    Browse the repository at this point in the history
  12. ASoC: dt-bindings: sprd,sc9860-mcdt: convert to YAML

    Convert the Spreadtrum Multi-Channel Data Transfer controller bindings
    to DT schema. Adjust filename to match compatible.
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/140ee384c1c351ffa3abefa8dd3246d1625dda8d.1730310275.git.stano.jakubek@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Stanislav Jakubek authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    3105581 View commit details
    Browse the repository at this point in the history
  13. ASoC: dt-bindings: qcom,sm8250: Add SM8750 sound card

    Add bindings for SM8750 sound card, compatible with older SM8450
    variant.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241101165159.370619-1-krzysztof.kozlowski@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    krzk authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    393de01 View commit details
    Browse the repository at this point in the history
  14. ASoC: qcom: sc8280xp Add SM8750 sound card

    Add OF device ID entry for SM8750 sound card with its own model name,
    used to load proper Audioreach topology file.  The sound card is
    compatible with SM8450 and newer family.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241101165159.370619-2-krzysztof.kozlowski@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    krzk authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4b9f02b View commit details
    Browse the repository at this point in the history
  15. ASoC: dt-bindings: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,im…

    …x6ull-esai
    
    The ESAI of i.MX8QM is the same as i.MX6ULL. So allow fsl,imx8qm-esai
    fallback to fsl,imx6ull-esai.
    
    Signed-off-by: Frank Li <Frank.Li@nxp.com>
    Acked-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20241028-esai_fix-v1-1-3c1432a5613c@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    nxpfrankli authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    adf7ea4 View commit details
    Browse the repository at this point in the history
  16. MAINTAINERS: Generic Sound Card section

    ALSA SoC Sound has Generic Sound Card (Simple-Card, Audio-Graph-Card,
    Audio-Graph-Card2). Adds its Maintainer.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87ikt2a41c.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    08a3b24 View commit details
    Browse the repository at this point in the history
  17. ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove

    In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not
    null. So the release of the dma channel leads to the following issue:
    [    4.879000] st,stm32-spdifrx 500d0000.audio-controller:
    dma_request_slave_channel error -19
    [    4.888975] Unable to handle kernel NULL pointer dereference
    at virtual address 000000000000003d
    [...]
    [    5.096577] Call trace:
    [    5.099099]  dma_release_channel+0x24/0x100
    [    5.103235]  stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx]
    [    5.109494]  stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx]
    
    To avoid this issue, release channel only if the pointer is valid.
    
    Fixes: 794df94 ("ASoC: stm32: spdifrx: manage rebind issue")
    Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Link: https://patch.msgid.link/20241105140242.527279-1-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ADESTM authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9bb4af4 View commit details
    Browse the repository at this point in the history
  18. ASoC: rt722: change the interrupt mask for jack type detection

    This patch changed the interrupt mask from XU to GE.
    
    Signed-off-by: Shuming Fan <shumingf@realtek.com>
    Link: https://patch.msgid.link/20241105100557.1987917-1-shumingf@realtek.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    shumingfan authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    93b763a View commit details
    Browse the repository at this point in the history
  19. ASoC: Intel: sof_sdw: Add missing quirks from some new Dell

    Add missing quirks for some new Dell laptops using cs42l43's speaker
    outputs.
    
    Signed-off-by: Deep Harsora <deep_harsora@dell.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://patch.msgid.link/20241105111057.182076-1-yung-chuan.liao@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    DeepHarsora-Dell authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    af23d38 View commit details
    Browse the repository at this point in the history
  20. ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property

    On some MediaTek SoCs, an Audio DSP (ADSP) is integrated as a separate
    hardware block that leverages Sound Open Firmware (SOF) and provides
    additional audio functionalities. This hardware is optional, and the
    audio subsystem will still function normally when it's not present.
    
    To enable ADSP support, a 'mediatek,adsp' property is required in the
    sound card node to pass the ADSP phandle. This allows AFE to link to
    ADSP when the sound card is probed.
    
    MT8188 has ADSP integrated, so add the 'mediatek,adsp' property to
    allow using it in the audio subsystem.
    
    This fixes dtbs_check error:
      Unevaluated properties are not allowed ('mediatek,adsp' was
      unexpected)
    
    Signed-off-by: Fei Shao <fshao@chromium.org>
    Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20241105091246.3944946-1-fshao@chromium.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Fei Shao authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    ed4bcfb View commit details
    Browse the repository at this point in the history
  21. ASoC: rt721-sdca: change interrupt mask from XU to GE

    Change interrupt mask from XU to GE to fix jack detection
    interrupt issue.
    
    Signed-off-by: Jack Yu <jack.yu@realtek.com>
    Link: https://patch.msgid.link/cbc81e324673467a96b70e4e219766b5@realtek.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Jack Yu authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b3cb7f2 View commit details
    Browse the repository at this point in the history
  22. ASoC: dt-bindings: everest,es8326: Document interrupt property

    The ES8326 audio codec has one interrupt pin for headset detection
    according to the datasheet. Document that in the binding.
    
    This fixes dtbs_check error:
      'interrupts-extended' does not match any of the regexes:
      'pinctrl-[0-9]+'
    
    Signed-off-by: Fei Shao <fshao@chromium.org>
    Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20241105091910.3984381-1-fshao@chromium.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Fei Shao authored and broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9934878 View commit details
    Browse the repository at this point in the history
  23. ASoC: cleasnup rtd and its ID

    Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
    
    rtd has own ID, but it is naming "num" for it. The naming is confusable.
    This patch rename it to "id".
    And many functions request both "rtd" and its "id" as function parameter,
    but rtd itself has rtd->id. This patch cleanup it.
    
    And, Qcom driver want to use irregular rtd ID because of its topology,
    and thus, soc-core need irregular calculation. I'm not sure why only Qcom
    needs such calculation, but this patch also cleanup it.
    But I guess we want to cleanup is not soc-core but Qcom side (?)
    broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    ff96429 View commit details
    Browse the repository at this point in the history
  24. Soundwire dai link init logic refactor

    Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:
    
    This patch series refactors the SoundWire dai link init logic for Intel
    and AMD generic SoundWire machine driver and also updates the stream_name
    in dai_links structure.
    
    Link: thesofproject#5218
    broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a441eff View commit details
    Browse the repository at this point in the history
  25. ASoC: codecs: Add aw88081 amplifier driver

    Merge series from wangweidong.a@awinic.com:
    
    Add the awinic,aw88081 property to support the aw88081 chip.
    
    The driver is for amplifiers aw88081 of Awinic Technology
    Corporation. The awinic AW88081 is an I2S/TDM input,
    high efficiency digital Smart K audio amplifier
    broonie committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    aaa7382 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. ALSA: compress_offload: Use runtime pointer in snd_compr_poll()

    runtime is not used as seen with W=1 :
    sound/core/compress_offload.c: In function ‘snd_compr_poll’:
    sound/core/compress_offload.c:409:35: error: variable ‘runtime’ set but not used [-Werror=unused-but-set-variable]
      409 |         struct snd_compr_runtime *runtime;
          |                                   ^~~~~~~
    
    Instead of dropping the runtime, use it in the function in place of
    stream->runtime
    
    Fixes: 0417715 ("ALSA: compress_offload: introduce accel operation mode")
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Jaroslav Kysela <perex@perex.cz>
    Link: https://patch.msgid.link/20241106075312.15601-1-peter.ujfalusi@linux.intel.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    ujfalusi authored and tiwai committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    9e096b3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'topic/compress-accel' into for-next

    Pull a compiler warning fix for compress-offload API.
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    d71dbe8 View commit details
    Browse the repository at this point in the history
  3. ASoC: Intel: Kconfig: make SND_SOC_ACPI_INTEL_MATCH depend on ACPI

    SND_SOC_ACPI_INTEL_MATCH relies on ACPI functions. It will not work
    if ACPI is not selected.
    
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://patch.msgid.link/20241106055810.10123-2-yung-chuan.liao@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    bardliao authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b6bd3f3 View commit details
    Browse the repository at this point in the history
  4. ASoC: Intel: Kconfig: select SND_SOC_SDCA by SND_SOC_ACPI_INTEL_SDCA_…

    …QUIRKS
    
    SND_SOC_SDCA can't be optional when SND_SOC_ACPI_INTEL_SDCA_QUIRKS is
    selected. IS_REACHABLE can prevent the link error. However it is not
    suitable for this case. When CONFIG_SND_SOC_ACPI_INTEL_SDCA_QUIRKS is
    Y and CONFIG_SND_SOC_SDCA is M, the SDCA helpers will be empty and
    return false. But we need the helpers to do their jobs whenSND_SOC_SDCA
    is M.
    IOW, the SDCA library is not optional for Intel platforms where the
    SDCA_QUIRK is selected.
    Also, make SND_SOC_SDCA invisible. SND_SOC_SDCA should be selected if
    a device supports SDCA. User should not unselect it.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202411021722.DiX1Y5sf-lkp@intel.com/
    Suggested-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://patch.msgid.link/20241106055810.10123-3-yung-chuan.liao@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    bardliao authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    845cb1d View commit details
    Browse the repository at this point in the history
  5. ASoC: dt-bindings: irondevice,sma1307: Add initial DT

    This adds the schema binding for the Iron Device SMA1307 Amp
    
    Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241106005800.7520-2-kiseok.jo@irondevice.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    KiseokJo authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    82a1ccd View commit details
    Browse the repository at this point in the history
  6. ASoC: sma1307: Add driver for Iron Device SMA1307

    The Iron Device SMA1307 is a boosted digital speaker amplifier
    
    Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
    Link: https://patch.msgid.link/20241106005800.7520-3-kiseok.jo@irondevice.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    KiseokJo authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    576c57e View commit details
    Browse the repository at this point in the history
  7. ASoC: dt-bindings: maxim,max98390: Reference common DAI properties

    MAX98390 is a smart amplifier and exposes one DAI, so '#sound-dai-cells'
    property is needed for describing the DAI links.
    
    Reference the dai-common.yaml schema to allow '#sound-dai-cells' to be
    used.
    
    This fixes dtbs_check error:
      '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
    
    Signed-off-by: Fei Shao <fshao@chromium.org>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241105091513.3963102-1-fshao@chromium.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Fei Shao authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    9b91577 View commit details
    Browse the repository at this point in the history
  8. ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022

    Xiaomi Book Pro 14 2022 (MIA2210-AD) requires a quirk entry for its
    internal microphone to be enabled.
    
    This is likely due to similar reasons as seen previously on Redmi Book
    14/15 Pro 2022 models (since they likely came with similar firmware):
    
    - commit dcff8b7 ("ASoC: amd: yc: Add Xiaomi Redmi Book Pro 15 2022
      into DMI table")
    - commit c1dd6bf ("ASoC: amd: yc: Add Xiaomi Redmi Book Pro 14 2022
      into DMI table")
    
    A quirk would likely be needed for Xiaomi Book Pro 15 2022 models, too.
    However, I do not have such device on hand so I will leave it for now.
    
    Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
    Link: https://patch.msgid.link/20241106024052.15748-1-jeffbai@aosc.io
    Signed-off-by: Mark Brown <broonie@kernel.org>
    MingcongBai authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    de156f3 View commit details
    Browse the repository at this point in the history
  9. ASoC: SOF: amd: Fix for incorrect DMA ch status register offset

    DMA ch status register offset change in acp7.0 platform
    
    Incorrect DMA channel status register offset check lead to
    firmware boot failure.
    
    [   14.432497] snd_sof_amd_acp70 0000:c4:00.5: ------------[ DSP dump start ]------------
    [   14.432533] snd_sof_amd_acp70 0000:c4:00.5: Firmware boot failure due to timeout
    [   14.432549] snd_sof_amd_acp70 0000:c4:00.5: fw_state: SOF_FW_BOOT_IN_PROGRESS (3)
    [   14.432610] snd_sof_amd_acp70 0000:c4:00.5: invalid header size 0x71c41000. FW oops is bogus
    [   14.432626] snd_sof_amd_acp70 0000:c4:00.5: unexpected fault 0x71c40000 trace 0x71c40000
    [   14.432642] snd_sof_amd_acp70 0000:c4:00.5: ------------[ DSP dump end ]------------
    [   14.432657] snd_sof_amd_acp70 0000:c4:00.5: error: failed to boot DSP firmware -5
    [   14.432672] snd_sof_amd_acp70 0000:c4:00.5: fw_state change: 3 -> 4
    [   14.433260] dmic-codec dmic-codec: ASoC: Unregistered DAI 'dmic-hifi'
    [   14.433319] snd_sof_amd_acp70 0000:c4:00.5: fw_state change: 4 -> 0
    [   14.433358] snd_sof_amd_acp70 0000:c4:00.5: error: sof_probe_work failed err: -5
    
    Update correct register offset for DMA ch status register.
    
    Fixes: 490be7b ("ASoC: SOF: amd: add support for acp7.0 based platform")
    
    Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
    Link: https://patch.msgid.link/20241106142658.1240929-1-venkataprasad.potturu@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Venkata-Prasad-Potturu authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    94debe5 View commit details
    Browse the repository at this point in the history
  10. ASoC: da7213: Populate max_register to regmap_config

    On the Renesas RZ/G3S SMARC Carrier II board having a DA7212 codec (using
    da7213 driver) connected to one SSIF-2 available on the Renesas RZ/G3S SoC
    it has been discovered that using the runtime PM API for suspend/resume
    (as will be proposed in the following commits) leads to the codec not
    being propertly initialized after resume. This is because w/o
    max_register populated to regmap_config the regcache_rbtree_sync()
    breaks on base_reg > max condition and the regcache_sync_block() call is
    skipped.
    
    Fixes: ef5c2eb ("ASoC: codecs: Add da7213 codec")
    Cc: stable@vger.kernel.org
    Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Link: https://patch.msgid.link/20241106081826.1211088-23-claudiu.beznea.uj@bp.renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    claudiubeznea authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    9d4f9f6 View commit details
    Browse the repository at this point in the history
  11. ASoC: da7213: Return directly the value of regcache_sync()

    Return directly the value of the regcache_sync() in
    da7213_runtime_resume(). In case of any failures this will inform the
    runtime resume process.
    
    Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Link: https://patch.msgid.link/20241106081826.1211088-24-claudiu.beznea.uj@bp.renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    claudiubeznea authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    8412569 View commit details
    Browse the repository at this point in the history
  12. ASoC: da7213: Add suspend to RAM support

    Add suspend to RAM support. This uses the already available runtime PM
    support.
    
    Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Link: https://patch.msgid.link/20241106081826.1211088-25-claudiu.beznea.uj@bp.renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    claudiubeznea authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    431e040 View commit details
    Browse the repository at this point in the history
  13. ASoC: da7213: Avoid setting PLL when closing audio stream

    When audio stream is closing, audio frequency is set to 0 by ALSA but
    codec driver DA7213 does not handle properly in this case. This patch
    adds checking of 0Hz frequency to da7213_set_component_sysclk() and avoid
    unnecessary PLL settings.
    
    Signed-off-by: Hao Bui <hao.bui.yg@renesas.com>
    Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Link: https://patch.msgid.link/20241106081826.1211088-26-claudiu.beznea.uj@bp.renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    haobui-rvc authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    1e1a2ef View commit details
    Browse the repository at this point in the history
  14. ASoC: da7213: Extend support for the MCK in range [2, 50] MHz

    According to DA7212 HW manual, the codec's PLL input divider can operate
    with MCLK range from 2MHz to 50MHz but current driver only set the
    minimum supported MCLK frequency to 5MHz. That cause 11.025kHz audio
    which is corresponding to MCLK of 2.8224MHz (11.025kHz * 256) unable to
    play in case audio-simple-card is used.
    
    Signed-off-by: Hao Bui <hao.bui.yg@renesas.com>
    Co-developed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
    Link: https://patch.msgid.link/20241106081826.1211088-27-claudiu.beznea.uj@bp.renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    haobui-rvc authored and broonie committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b3296f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. ASoC: Intel: Kconfig: fix undefined symbol:

    Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:
    
    Fix the ld.lld: error: undefined symbol: sdca_device_quirk_match issue
    when CONFIG_SND_SOC_SDCA=m and CONFIG_SND_SOC_ACPI_INTEL_SDCA_QUIRKS=y.
    broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    8121de3 View commit details
    Browse the repository at this point in the history
  2. ASoC: SOF: ext_manifest: Add missing ext_manifest type for PROBE_INFO

    Elem type 3 is PROBE_INFO in ext_manifest, add it to the list.
    
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Link: https://patch.msgid.link/20241107120306.30680-2-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    7f4eb76 View commit details
    Browse the repository at this point in the history
  3. ASoC: SOF: ipc3-loader: 'Handle' PROBE_INFO ext_manifest type when pa…

    …rsing
    
    Every time when the firmware is loaded we see the following printed in
    info level:
    unknown sof_ext_man header type 3 size 0x30
    
    This is the PROBE_INFO element, which is not parsed, but it is not
    something that we should treat as surprise, aka unknown type.
    
    Add an empty case with a debug print to 'handle' this ext_manifest type and
    silence the confusing print in kernel log.
    
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Link: https://patch.msgid.link/20241107120306.30680-3-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    83e367c View commit details
    Browse the repository at this point in the history
  4. ASoC: SOF: Intel: hda-stream: Always use at least two BDLE for transfers

    The HDA specification states that the SDnLVI (Last Valid Index) must be at
    least 1 (two BDLE entry).
    
    Update the debug prints as well to provide better information.
    
    While the LVI=0 worked so far without issues, it is better to align with
    the specification to avoid unforeseen issues with FW loading.
    
    Notes:
    - The LVI > 0 rules is valid and honored for audio use cases
    - LVI == 0 is used with software controlled (SPIB) transfers only for
      firmware and library loading, which is permitted by the hardware
    - This is not spelled out in the specification and it is better to avoid
      cases
    
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Link: https://patch.msgid.link/20241107121532.3241-1-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    1b1f491 View commit details
    Browse the repository at this point in the history
  5. ASoC: SOF: Intel: hda: Add support for persistent Code Loader DMA buf…

    …fers
    
    It has been reported that the DMA memory allocation for firmware download
    can fail after extended period of uptime on systems with relatively small
    amount of RAM when the system memory becomes fragmented.
    
    The issue primarily happens  when the system is waking up from system
    suspend, swap might not be available and the MM system cannot move things
    around to allow for successful allocation.
    
    If the IMR boot is not supported then for each DSP boot we would need to
    allocate the DMA buffer for firmware transfer, which can increase the
    chances of the issue to be hit.
    
    This patch adds support for allocating the DMA buffers once at first boot
    time and keep it until the system is shut down, rebooted or the drivers
    re-loaded and makes this as the default operation.
    
    With persistent_cl_buffer module parameter the persistent Code Loader
    DMA buffer can be disabled to fall back to on demand allocation.
    
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Link: https://patch.msgid.link/20241107121440.1472-1-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    1862e84 View commit details
    Browse the repository at this point in the history
  6. ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 G…

    …en 6
    
    Another model of Thinkpad E14 Gen 6 (21M4)
    needs a quirk entry for the dmic to be detected.
    
    Signed-off-by: Markus Petri <mp@mpetri.org>
    Link: https://patch.msgid.link/20241107094020.1050935-1-mp@localhost
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Markus Petri authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    8c21e40 View commit details
    Browse the repository at this point in the history
  7. ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round…

    …_rate()
    
    This patch checks if div is less than or equal to zero (div <= 0). If
    div is zero or negative, the function returns -EINVAL, ensuring the
    division operation (*prate / div) is safe to perform.
    
    Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
    Link: https://patch.msgid.link/20241106014654.206860-1-luoyifan@cmss.chinamobile.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Luo Yifan authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    63c1c87 View commit details
    Browse the repository at this point in the history
  8. ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()

    This patch checks if div is less than or equal to zero (div <= 0). If
    div is zero or negative, the function returns -EINVAL, ensuring the
    division operation is safe to perform.
    
    Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
    Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Link: https://patch.msgid.link/20241107015936.211902-1-luoyifan@cmss.chinamobile.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Luo Yifan authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    23569c8 View commit details
    Browse the repository at this point in the history
  9. ASoC: SOF: Intel: hda: handle only paused streams in hda_dai_suspend()

    hda_dai_suspend() was added to handle paused stream during system
    suspend. But as a side effect, it also ends up cleaning up the DMA
    data for those streams that were prepared but not triggered before a
    system suspend. Since these streams will not receive the prepare
    callback after resuming, we need to preserve the DMA data during suspend.
    So, add the check to handle only those streams that are in the paused
    state to avoid losing the DMA data for all other streams.
    
    Link: thesofproject#5080
    Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Fred Oh <fred.oh@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20241107134957.25160-1-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ranj063 authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    7a11722 View commit details
    Browse the repository at this point in the history
  10. ASoC: ux500: Remove redundant casts

    In the function ux500_msp_drv_probe, the 'int' type cast
    in front of the PTR_ERR() macro is redundant, thus remove
    it.
    
    Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
    Link: https://patch.msgid.link/20241107075440.2770-1-tangbin@cmss.chinamobile.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Tang Bin authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    fa24fdc View commit details
    Browse the repository at this point in the history
  11. ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits

    Write the size of the optional payload of SOF_IPC4_MOD_INIT_INSTANCE
    message to extension param_size-bits.
    
    The previous IPC4 version does not set these bits that should indicate
    the size of the optional payload (struct sof_ipc4_probe_cfg). The old
    firmware side component code works well without these bits, but when
    the probes are converted to use the generic module API, this does not
    work anymore.
    
    Fixes: f562359 ("ASoC: SOF: IPC4: probes: Implement IPC4 ops for probes client device")
    Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20241107132840.17386-1-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Jyri Sarha authored and broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    48b8653 View commit details
    Browse the repository at this point in the history
  12. ASoC: SOF: ipc3-loader: Handle PROBE_INFO ext_manifest

    Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
    
    The PROBE_INFO (ext_manifest type 3) is not used by the kernel, but
    at every tiem the firmware is loaded the following is printed in
    info level (user visible):
    unknown sof_ext_man header type 3 size 0x30
    
    The type is known, but it is not handled, the print is misleading.
    broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    fa1a0f3 View commit details
    Browse the repository at this point in the history
  13. Add a driver for the Iron Device SMA1307 Amp

    Merge series from Kiseok Jo <kiseok.jo@irondevice.com>:
    
    This adds basic audio support for the Iron Device SMA1307 amplifier
    broonie committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b4b3622 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. ASoC: dt-bindings: add stm32mp25 support for sai

    Add STM32MP25 support for STM32 SAI peripheral,
    through "st,stm32mp25-sai" compatible.
    
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241107155143.1340523-2-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Olivier Moysan authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    8509bb1 View commit details
    Browse the repository at this point in the history
  2. ASoC: stm32: sai: add stm32mp25 support

    Add STM32MP25 support for STM32 SAI.
    
    On STM32MP25 the SAI driver does not manage SAI kernel clock rate
    by chosing its parent clock, dependending on audio stream rate.
    
    The driver requests a rate change on SAI kernel clock instead.
    This rate change is performed with the following guidelines:
    - Chose highest rate multiple of the audio stream
      (Try to get clock accuracy within 1000 ppm)
    - Ensure clock rate compatibility between SAI sub-blocks A&B
      and between instances sharing the same flexgen.
      Use clk_rate_exclusive API to fulfill this requirement.
    
    The STM32 SAI peripheral does not support the DMA burst mode
    on STM32MP25. Add a field in compatible structure to manage DMA
    burst support capability.
    
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Link: https://patch.msgid.link/20241107155143.1340523-3-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Olivier Moysan authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    2cfe1ff View commit details
    Browse the repository at this point in the history
  3. ASoC: dt-bindings: add stm32mp25 support for i2s

    Add STM32MP25 support for STM32 I2S peripheral,
    through "st,stm32mp25-i2s" compatible.
    
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://patch.msgid.link/20241107144712.1305638-2-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Olivier Moysan authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    c69b7ed View commit details
    Browse the repository at this point in the history
  4. ASoC: stm32: i2s: add stm32mp25 support

    Add STM32MP25 support for STM32 I2S.
    
    On STM32MP25 the I2S driver does not manage I2S kernel clock rate
    by choosing its parent clock, depending on audio stream rate.
    
    The driver requests a rate change on I2S kernel clock instead.
    It tries to set the higher possible rate, which is a multiple of
    the audio stream rate and which gives an accuracy of at least 1000 ppm.
    
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Link: https://patch.msgid.link/20241107144712.1305638-3-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Olivier Moysan authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    20bf873 View commit details
    Browse the repository at this point in the history
  5. ASoC: mediatek: mt8183: Remove unnecessary variable assignments

    In the function mt8183_dai_i2s_register, the variable
    'ret' is redundant, thus remove it.
    
    Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
    Link: https://patch.msgid.link/20241025090938.3480-1-tangbin@cmss.chinamobile.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Tang Bin authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f3c8897 View commit details
    Browse the repository at this point in the history
  6. ASoC: sma1307: Fix invalid logical judgement

    In the function sma1307_dai_hw_params_amp, the variable
    'ret' has not been assigned a value, so the logical judgement
    is invalid, thus fix it.
    
    Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
    Link: https://patch.msgid.link/20241108011617.2284-1-tangbin@cmss.chinamobile.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Tang Bin authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    08aa540 View commit details
    Browse the repository at this point in the history
  7. ASoC: Intel: Kconfig: Only select SND_SOC_SDCA if ACPI is enabled

    The SDCA module have hard dependency to compile on ACPI, it can only be
    selected if ACPI is also enabled.
    The SDCA header provides inline prototypes for other modules to compile in
    case SND_SOC_SDCA is not enabled.
    
    Fixes: 845cb1d ("ASoC: Intel: Kconfig: select SND_SOC_SDCA by SND_SOC_ACPI_INTEL_SDCA_QUIRKS")
    Reported-by: kernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202411070806.UhCRpZok-lkp@intel.com/
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Link: https://patch.msgid.link/20241107100204.24952-2-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    c5bbc47 View commit details
    Browse the repository at this point in the history
  8. ASoC: Intel: Kconfig: Revert make SND_SOC_ACPI_INTEL_MATCH depend on …

    …ACPI
    
    The acpi-intel-match should be compiled even if ACPI is not selected.
    The ACPI is not compile time requirement, but the exported symbols are
    needed for other modules.
    
    Fixes: b6bd3f3 ("ASoC: Intel: Kconfig: make SND_SOC_ACPI_INTEL_MATCH depend on ACPI")
    Reported-by: kernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202411070806.UhCRpZok-lkp@intel.com/
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Link: https://patch.msgid.link/20241107100204.24952-3-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ujfalusi authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    4f1636e View commit details
    Browse the repository at this point in the history
  9. ALSA: ump: remove unnecessary check on blk

    The unsigned expression 'blk' will never be negative, so remove the
    unnecessary check.
    
    Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
    Link: https://patch.msgid.link/20241108032702.217168-1-luoyifan@cmss.chinamobile.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Luo Yifan authored and tiwai committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    eab936a View commit details
    Browse the repository at this point in the history
  10. regmap: provide regmap_assign_bits()

    Add another bits helper to regmap API: this one sets given bits if value
    is true and clears them if it's false.
    
    Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
    Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
    Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
    Link: https://patch.msgid.link/20241108-assign-bits-v1-1-382790562d99@ideasonboard.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    brgl authored and broonie committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d1f4390 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2024

  1. ASoC: qcom: sm8250: add handling of secondary MI2S clock

    Add handling of clock related to secondary MI2S_RX in
    sm8250_snd_startup().
    
    Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
    Link: https://patch.msgid.link/20241018025452.1362293-2-alexey.klimov@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Alexey Klimov authored and broonie committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    ed7bca5 View commit details
    Browse the repository at this point in the history
  2. ASoC: Intel: Fix Kconfig for ACPI=n

    Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
    
    Hi,
    
    A recent attempt to fix a missing symbol when
    CONFIG_SND_SOC_SDCA=m and CONFIG_SND_SOC_ACPI_INTEL_SDCA_QUIRKS=y
    caused unmet direct dependency warning with randconig.
    
    The reason is that SND_SOC_ACPI_INTEL_MATCH is needed to be compilable
    even if ACPI is not selected, modules have dependency on exported
    symbols from it.
    
    The only solution for these kconfig dependencies seams to be to
    only select SND_SOC_SDCA if ACPI is enabled  from
    SND_SOC_ACPI_INTEL_SDCA_QUIRKS.
    
    Regards,
    Peter
    ---
    Peter Ujfalusi (2):
      ASoC: Intel: Kconfig: Only select SND_SOC_SDCA if ACPI is enabled
      ASoC: Intel: Kconfig: Revert make SND_SOC_ACPI_INTEL_MATCH depend on
        ACPI
    
     sound/soc/intel/Kconfig | 5 ++---
     1 file changed, 2 insertions(+), 3 deletions(-)
    
    --
    2.47.0
    broonie committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    79ef7a4 View commit details
    Browse the repository at this point in the history
  3. ASoC: stm32: sai: add stm32mp25 support

    Merge series from Olivier Moysan <olivier.moysan@foss.st.com>:
    
    Update STM32 SAI driver and binding to support STM32MP25 SoCs.
    broonie committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    b3ea5be View commit details
    Browse the repository at this point in the history
  4. ASoC: stm32: i2s: add stm32mp25 support

    Merge series from Olivier Moysan <olivier.moysan@foss.st.com>:
    
    Update STM32 I2S driver and binding to support STM32MP25 SoCs.
    broonie committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    125d0f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. ASoC: audio-graph-card2: Purge absent supplies for device tree nodes

    The audio graph card doesn't mark its subnodes such as multi {}, dpcm {}
    and c2c {} as not requiring any suppliers. This causes a hang as Linux
    waits for these phantom suppliers to show up on boot.
    Make it clear these nodes have no suppliers.
    
    Example error message:
    [   15.208558] platform 2034000.i2s: deferred probe pending: platform: wait for supplier /sound/multi
    [   15.208584] platform sound: deferred probe pending: asoc-audio-graph-card2: parse error
    
    Signed-off-by: John Watts <contact@jookia.org>
    Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/20241108-graph_dt_fix-v1-1-173e2f9603d6@jookia.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Jookia authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    f8da001 View commit details
    Browse the repository at this point in the history
  2. ASoC: intel: sof_sdw: add quirk for Dell SKU

    This patch adds a quirk to include the codec amplifier function for this
    Dell SKU.
    
    Note: In this SKU '0CF1', the RT722 codec amplifier is
    excluded, and an external amplifier is used instead.
    
    Signed-off-by: Deep Harsora <deep_harsora@dell.com>
    Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Link: https://patch.msgid.link/20241111070618.5414-1-yung-chuan.liao@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    DeepHarsora-Dell authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    d859923 View commit details
    Browse the repository at this point in the history
  3. ASoC: machine: update documentation

    1. Added clocking details.
    2. Updated ways to register the dai's
    3. Bit more detail about card registration details.
    
    Signed-off-by: anish kumar <yesanishhere@gmail.com>
    Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
    Link: https://patch.msgid.link/20241109192231.11623-1-yesanishhere@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    yesanishhere authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    e90dbd3 View commit details
    Browse the repository at this point in the history
  4. ASoC: max98088: Remove duplicate DACs

    This codec only has one set of left and right DACs, remove the duplicate
    DACs with duplicated bits controlling them as the userspace can set those
    controls to mismatched value. This most likely does break userspace ABI,
    but there seem to be no in-kernel users.
    
    Signed-off-by: Marek Vasut <marex@denx.de>
    Link: https://patch.msgid.link/20241108235453.196289-1-marex@denx.de
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Marek Vasut authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    725570f View commit details
    Browse the repository at this point in the history
  5. ASoC: add symmetric_ prefix for dai->rate/channels/sample_bits

    snd_soc_dai has rate/channels/sample_bits parameter, but it is only valid
    if symmetry is being enforced by symmetric_xxx flag on driver.
    
    It is very difficult to know about it from current naming, and easy to
    misunderstand it. add symmetric_ prefix for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87zfmd8bnf.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    1bd775d View commit details
    Browse the repository at this point in the history
  6. ASoC: dt-bindings: stm32: add missing port property

    Add missing port property in STM32 SPDIFRX binding.
    This will prevent potential warning:
    Unevaluated properties are not allowed ('port' was unexpected)
    
    Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
    Link: https://patch.msgid.link/20241105135942.526624-1-olivier.moysan@foss.st.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Olivier Moysan authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    98d34dd View commit details
    Browse the repository at this point in the history
  7. ASoc: SOF: ipc4-pcm: fix uninit-value in sof_ipc4_pcm_dai_link_fixup_…

    …rate
    
    Fix an issue detected by the Smatch tool:
    
    sound/soc/sof/ipc4-pcm.c: sof_ipc4_pcm_dai_link_fixup_rate()
    error: uninitialized symbol 'be_rate'.
    
    The warning highlights a case where `be_rate` could remain uninitialized
    if `num_input_formats` is zero, which would cause undefined behavior
    when setting `rate->min` and `rate->max` based on `be_rate`.
    
    To address this issue, a `WARN_ON_ONCE(!num_input_formats)` check was
    added to ensure `num_input_formats` is greater than zero. If this
    condition fails, the function returns `-EINVAL`, preventing the use of
    an uninitialized `be_rate`.
    
    This change improves the robustness of the function by catching an
    invalid state early and providing better feedback during development.
    
    Signed-off-by: Suraj Sonawane <surajsonawane0215@gmail.com>
    Link: https://patch.msgid.link/20241107063609.11627-1-surajsonawane0215@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    SurajSonawane2415 authored and broonie committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    9a59718 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    52cf512 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    78ca2e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ef9956 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70e4167 View commit details
    Browse the repository at this point in the history
  4. Revert "regcache: Store values more directly in maple trees"

    This reverts commit 49a8585.
    The commit was reverted in upstream.
    
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    bardliao committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    db8f6b5 View commit details
    Browse the repository at this point in the history
  5. Revert "ASoC: Intel: Kconfig: select SND_SOC_SDCA by SND_SOC_ACPI_INT…

    …EL_SDCA_QUIRKS"
    
    This reverts commit fddade3.
    Will use upstream version to avoid merge conflict.
    
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    bardliao committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    127d362 View commit details
    Browse the repository at this point in the history
  6. Revert "ASoC: Intel: Kconfig: make SND_SOC_ACPI_INTEL_MATCH depend on…

    … ACPI"
    
    This reverts commit b33e4da.
    Will use the upstream version to avoid merge conflict.
    
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    bardliao committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    503963d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ddd0c57 View commit details
    Browse the repository at this point in the history