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:
Ranjani Sridharan 2022-01-07 13:05:58 -08:00 committed by Daniel Baluta
parent d577f4b760
commit aeecf5a741
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ static int dts_effect_populate_buffer_configuration(struct comp_dev *dev,
comp_dbg(dev, "dts_effect_populate_buffer_configuration() start");
if (cd->ca_source == NULL)
if (!cd->ca_source)
return -EINVAL;
stream = &cd->ca_source->stream;