mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/audio/lm4549: Add errp error reporting to init function
This will be used in future commit. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <be1bf295b3c6a3dee272b4b4e8115e37c2a772b5.1650874791.git.mkletzan@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b7639b7dd0
commit
79d3e56c20
3 changed files with 5 additions and 3 deletions
|
@ -564,7 +564,7 @@ static void pl041_realize(DeviceState *dev, Error **errp)
|
|||
}
|
||||
|
||||
/* Init the codec */
|
||||
lm4549_init(&s->codec, &pl041_request_data, (void *)s);
|
||||
lm4549_init(&s->codec, &pl041_request_data, (void *)s, errp);
|
||||
}
|
||||
|
||||
static const VMStateDescription vmstate_pl041_regfile = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue