summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-09-03 23:47:37 +0300
committerVinod Koul <vkoul@kernel.org>2020-09-04 12:21:12 +0300
commit06dcb4e443643db93b286f861133785ca46f5a19 (patch)
treed9e022e353f2abd616fba1aef943a21c093fdaa2 /net
parent3471d2a192bace106e4da7bcdcdd5ebcca4267d2 (diff)
downloadlinux-06dcb4e443643db93b286f861133785ca46f5a19.tar.xz
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 <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-3-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions