Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 33805852 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Michael Bestas
Browse files

ASoC: dsp: amrwb_in: Fix AUDIO_GET_AMRWB_ENC_CONFIG ioctl



The non-blocking if-statement here causes the AUDIO_GET_AMRWB_ENC_CONFIG
ioctl to always return -EFAULT, even upon success. Fix it by correctly
guarding the -EFAULT return value.

Change-Id: Ia3a7247f5febb21d3b654c0ed29e81135e732c79
Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
[dereference23: Extend to audio-kernel 4.0]
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
parent 612b48f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment