audio: fix audio_generic_read
commit4da58faa5b5d014ede0839b606bed5ea91e321f7
authorVolker Rümelin <vr_qemu@t-online.de>
Thu, 23 Jan 2020 07:49:36 +0000 (23 08:49 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 31 Jan 2020 07:48:03 +0000 (31 08:48 +0100)
treec71cc5123eefcc2b91e3a923787d2255d8f9249d
parentd3ed0996712900161ef2ae7fab6b41616086ad30
audio: fix audio_generic_read

It seems the function audio_generic_read started as a copy of
function audio_generic_write and some necessary changes were
forgotten. Fix the mixed up source and destination pointers and
rename misnamed variables.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20200123074943.6699-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c