mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "dsp: q6afe: return error on no configuration data"
This commit is contained in:
commit
d3a0e9fcca
1 changed files with 3 additions and 2 deletions
|
|
@ -2828,9 +2828,10 @@ int afe_send_spdif_ch_status_cfg(struct afe_param_id_spdif_ch_status_cfg
|
|||
struct param_hdr_v3 param_hdr;
|
||||
int ret = 0;
|
||||
|
||||
if (!ch_status_cfg)
|
||||
if (!ch_status_cfg) {
|
||||
pr_err("%s: Error, no configuration data\n", __func__);
|
||||
return -EINVAL;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
memset(¶m_hdr, 0, sizeof(param_hdr));
|
||||
param_hdr.module_id = AFE_MODULE_AUDIO_DEV_INTERFACE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue