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:Sultan Alsawaf <sultan@kerneltoast.com> [dereference23: Extend to audio-kernel 4.0] Signed-off-by:
Alexander Winkowski <dereference23@outlook.com>
Loading
Please register or sign in to comment