hal: ignore the result of channel setting for call recording
Call recording will fail if audio driver doesn't support
the channel setting for call recording.
Ignore its return value and use the default config when fail.
Change-Id: I639deef18365495e5f53a85e5dbcd60bedb9f5eb
diff --git a/hal/voice.c b/hal/voice.c
index 26116c6..738717d 100644
--- a/hal/voice.c
+++ b/hal/voice.c
@@ -409,8 +409,8 @@
session_id = voice_get_active_session_id(adev);
ret = platform_set_incall_recording_session_id(adev->platform,
session_id, rec_mode);
- ret = platform_set_incall_recording_session_channels(adev->platform,
- in->config.channels);
+ platform_set_incall_recording_session_channels(adev->platform,
+ in->config.channels);
ALOGV("%s: Update usecase to %d",__func__, in->usecase);
} else {
/*