diff options
author | Jiasheng Jiang <[email protected]> | 2022-03-10 11:00:41 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-03-14 08:29:11 +0000 |
commit | ccb4214f7f2a8b75acf493f31128e464ee1a3536 (patch) | |
tree | d01ea3a31450b2cdae63c1e935fb0f945f7f4cdc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8fc262265918d2a1817103b454d32979f1d7f35c (diff) |
ASoC: soc-compress: Change the check for codec_dai
It should be better to reverse the check on codec_dai
and returned early in order to be easier to understand.
Fixes: de2c6f98817f ("ASoC: soc-compress: prevent the potentially use of null pointer")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jiasheng Jiang <[email protected]>
Reviewed-by: Charles Keepax <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions