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. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
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. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>