qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 8/9] audio: Make AUD_register_card fallible and require audio


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 8/9] audio: Make AUD_register_card fallible and require audiodev=
Date: Fri, 22 Sep 2023 13:17:41 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 22/9/23 11:44, Paolo Bonzini wrote:
From: Martin Kletzander <mkletzan@redhat.com>

Now that all callers support error reporting with errp and all machine-default
devices use an explicit audiodev, this can be changed.  To make the detection
easier make AUD_register_card() return false on error.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
  audio/audio.c        | 7 +++++--
  audio/audio.h        | 2 +-
  hw/arm/omap2.c       | 2 +-
  hw/audio/ac97.c      | 6 +++++-
  hw/audio/adlib.c     | 6 ++++--
  hw/audio/cs4231a.c   | 6 ++++--
  hw/audio/es1370.c    | 5 ++++-
  hw/audio/gus.c       | 6 ++++--
  hw/audio/hda-codec.c | 5 ++++-
  hw/audio/lm4549.c    | 8 +++++---
  hw/audio/pcspk.c     | 4 +---
  hw/audio/sb16.c      | 6 ++++--
  hw/audio/via-ac97.c  | 6 ++++--
  hw/audio/wm8750.c    | 5 ++++-
  hw/display/xlnx_dp.c | 6 ++++--
  hw/input/tsc210x.c   | 2 +-
  hw/usb/dev-audio.c   | 5 ++++-
  17 files changed, 59 insertions(+), 28 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]