[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/18] hw/audio: Simplify hda audio init
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 03/18] hw/audio: Simplify hda audio init |
Date: |
Mon, 25 Apr 2022 15:06:58 +0100 |
User-agent: |
Mutt/2.1.5 (2021-12-30) |
On Mon, Apr 25, 2022 at 02:35:03PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 25, 2022 at 10:21:46AM +0200, Martin Kletzander wrote:
> > No return values are used anywhere, so switch the functions to be void
> > and add support for error reporting using errp for use in next patches.
>
> Making it 'void' makes sense, but I'm not sure we need the Error **errp
> addition, given my comment on patch #13.
Nevermind, I revised my comment on that patch, so
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
> >
> > Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
> > ---
> > hw/audio/hda-codec.c | 32 ++++++++++++++++++--------------
> > hw/audio/intel-hda.c | 4 +---
> > hw/audio/intel-hda.h | 2 +-
> > 3 files changed, 20 insertions(+), 18 deletions(-)
>
> With regards,
> Daniel
> --
> |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org -o- https://fstop138.berrange.com :|
> |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 02/18] hw/input/tsc210x: Extract common init code into new function, (continued)
- [PATCH 02/18] hw/input/tsc210x: Extract common init code into new function, Martin Kletzander, 2022/04/25
- [PATCH 06/18] ui/vnc: Require audiodev=, Martin Kletzander, 2022/04/25
- [PATCH 15/18] audio: Be more strict during audio backend initialisation, Martin Kletzander, 2022/04/25
- [PATCH 03/18] hw/audio: Simplify hda audio init, Martin Kletzander, 2022/04/25
- [PATCH 01/18] hw/audio: Remove -soundhw support, Martin Kletzander, 2022/04/25
- [PATCH 10/18] hw/input/tsc210x.c: Support machine-default audiodev with fallback, Martin Kletzander, 2022/04/25
- [PATCH 08/18] audio: Add easy dummy audio initialiser, Martin Kletzander, 2022/04/25
- [PATCH 07/18] Introduce machine's default-audiodev property, Martin Kletzander, 2022/04/25
- [PATCH 14/18] audio: Require AudioState in AUD_add_capture, Martin Kletzander, 2022/04/25