diff options
| author | Pierre-Louis Bossart <[email protected]> | 2020-09-04 04:47:37 +0800 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-09-04 14:51:12 +0530 |
| commit | 06dcb4e443643db93b286f861133785ca46f5a19 (patch) | |
| tree | d9e022e353f2abd616fba1aef943a21c093fdaa2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3471d2a192bace106e4da7bcdcdd5ebcca4267d2 (diff) | |
soundwire: intel: fix NULL/ERR_PTR confusion
snd_soc_dai_get_sdw_stream() can only return the pointer to stream or
an ERR_PTR value, NULL is not a possible value.
Fixes: 09553140c8d7b ('soundwire: intel: implement get_sdw_stream() operations')
Reported-by: Bard Liao <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions