mirror of https://github.com/thesofproject/sof.git
codec_adapter: dts: check for !cd->ca_source instead of == NULL
Make checkpatch happy Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
d577f4b760
commit
aeecf5a741
|
@ -67,7 +67,7 @@ static int dts_effect_populate_buffer_configuration(struct comp_dev *dev,
|
||||||
|
|
||||||
comp_dbg(dev, "dts_effect_populate_buffer_configuration() start");
|
comp_dbg(dev, "dts_effect_populate_buffer_configuration() start");
|
||||||
|
|
||||||
if (cd->ca_source == NULL)
|
if (!cd->ca_source)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
stream = &cd->ca_source->stream;
|
stream = &cd->ca_source->stream;
|
||||||
|
|
Loading…
Reference in New Issue