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(-)