diff options
| author | Pierre-Louis Bossart <[email protected]> | 2020-09-04 04:47:36 +0800 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-09-04 14:51:12 +0530 |
| commit | 3471d2a192bace106e4da7bcdcdd5ebcca4267d2 (patch) | |
| tree | 12c434e9ea293644e799693792d2747fdb18a543 /tools/perf/scripts/python/bin | |
| parent | 8be2f84acf2317068c93fea291d823ac30d172d6 (diff) | |
soundwire: stream: fix NULL/IS_ERR confusion
snd_soc_dai_get_sdw_stream() can only return -ENOTSUPP or the stream,
NULL is not a possible value.
Fixes: 4550569bd779f ('soundwire: stream: add helper to startup/shutdown streams')
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/bin')
0 files changed, 0 insertions, 0 deletions