summaryrefslogtreecommitdiff
path: root/drivers/soundwire/intel.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-09-03 23:47:36 +0300
committerVinod Koul <vkoul@kernel.org>2020-09-04 12:21:12 +0300
commit3471d2a192bace106e4da7bcdcdd5ebcca4267d2 (patch)
tree12c434e9ea293644e799693792d2747fdb18a543 /drivers/soundwire/intel.c
parent8be2f84acf2317068c93fea291d823ac30d172d6 (diff)
downloadlinux-3471d2a192bace106e4da7bcdcdd5ebcca4267d2.tar.xz
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 <yung-chuan.liao@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200903204739.31206-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.c')
0 files changed, 0 insertions, 0 deletions